Function at 0x73ed9953
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x1c], ecx
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov edi, dword [esi + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], ecx
lea eax, [edi + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov edx, dword [esi]
add edx, edi
mov dword [esi + 0x10], eax
mov dword [ebp - 0x18], edx
je 0x73ed9c8a
mov eax, dword [ebp + 8]
movzx edx, word [edx + 2]
push 0x58
push ecx
push eax
lea ebx, [eax + 0x18]
mov dword [ebp - 0x20], edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [ebp - 0x1c]
xor edx, edx
add esp, 0xc
inc edx
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [ebx + 0x24], ecx
mov ecx, 0x200
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], edi
cmp eax, ecx
ja 0x73ed9af4
je 0x73ed9a11
mov ecx, 0x105
cmp eax, ecx
ja 0x73ed9ad8
je 0x73ed9a11
sub eax, 3
je 0x73ed9a83
sub eax, edx
je 0x73ed9a53
sub eax, 0xfc
je 0x73ed9a11
sub eax, 1
je 0x73ed9a11
sub eax, 1
je 0x73ed9a11
sub eax, 1
je 0x73ed9a11
sub eax, 1
jne 0x73ed9c75
lea eax, [edi + 0xb]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
movzx eax, word [ecx + 8]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
cdq
mov dword [ebp - 8], eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
movzx edx, byte [ecx + 0xa]
jmp 0x73ed9d61
lea eax, [edi + 7]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
movzx eax, word [ecx + 4]
mov dword [ebx + 0x48], 0xb
movzx edx, byte [ecx + 6]
mov dword [ebp - 4], eax
jmp 0x73ed9d61
lea eax, [edi + 8]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
movzx eax, word [ecx + 4]
mov dx, word [ecx + 6]
mov ecx, esi
mov dword [ebp - 4], eax
lea eax, [ebx + 0x30]
push eax
call fcn.73ed9e07
test al, al
je 0x73ed9aba
or dword [ebx + 0x28], 1
mov dword [ebx + 0x48], 7
mov ecx, esi
call fcn.73ed91b5
test eax, eax
je 0x73ed9d6b
movsx edx, byte [eax]
jmp 0x73ed9d63
sub eax, 0x106
je 0x73ed9a11
sub eax, 1
je 0x73ed9a11
sub eax, 1
jmp 0x73ed99f7
mov ecx, 0x1108
cmp eax, ecx
ja 0x73ed9c40
je 0x73ed9c20
sub eax, 0x201
je 0x73ed9be2
sub eax, 1
je 0x73ed9be2
sub eax, 1
je 0x73ed9be2
sub eax, 1
je 0x73ed9bb9
sub eax, 1
je 0x73ed9bb9
sub eax, 0xf01
je 0x73ed9b87
sub eax, 1
jne 0x73ed9c75
lea eax, [edi + 0xa]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
add ecx, edi
mov dword [esi + 0x10], eax
mov dword [ebp - 4], ecx
je 0x73ed9c8a
mov dx, word [ecx + 8]
lea eax, [ebx + 0x30]
push eax
mov ecx, esi
call fcn.73ed9e07
test al, al
je 0x73ed9b79
or dword [ebx + 0x28], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
jmp 0x73ed9ac1
lea eax, [edi + 0xb]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [ebx + 0x28], 8
movzx eax, word [ecx + 8]
mov dword [ebx + 0x40], eax
jmp 0x73ed9a4a
lea eax, [edi + 0x26]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
movzx eax, word [ecx + 0x22]
movzx edx, byte [ecx + 0x25]
mov dword [ebp - 4], eax
jmp 0x73ed9d61
lea eax, [edi + 0xd]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
movzx eax, word [ecx + 0xa]
xor edx, edx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
jmp 0x73ed9d5d
lea eax, [edi + 9]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 4]
movzx edx, byte [ecx + 8]
mov dword [ebp - 4], eax
jmp 0x73ed9d61
sub eax, 0x110b
je 0x73ed9d2d
sub eax, 1
je 0x73ed9cfc
sub eax, 1
je 0x73ed9cfc
sub eax, 1
je 0x73ed9cfc
sub eax, 1
je 0x73ed9ccb
sub eax, 1
je 0x73ed9ccb
sub eax, 1
je 0x73ed9c93
push 2
mov ecx, esi
call fcn.73ed9209
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
push eax
call fcn.73ed9209
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [edi + 0xf]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 8]
mov dword [ebp - 4], eax
mov dword [ebx + 0x28], 0x10
mov eax, dword [ecx + 4]
and dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], eax
movzx eax, word [ecx + 0xc]
mov dword [ebx + 0x40], eax
movzx edx, byte [ecx + 0xe]
jmp 0x73ed9d61
lea eax, [edi + 0x28]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 0x20]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], edx
movzx edx, byte [ecx + 0x27]
mov dword [ebp - 4], eax
jmp 0x73ed9d61
lea eax, [edi + 0xf]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 8]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
jmp 0x73ed9cc2
lea eax, [edi + 0xd]
cmp eax, dword [esi + 8]
ja 0x73ed9c8a
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
add ecx, edi
je 0x73ed9c8a
mov eax, dword [ecx + 8]
mov dword [ebp - 4], eax
mov dword [ebx + 0x28], 0x20
mov eax, dword [ecx + 4]
cdq
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
movzx edx, byte [ecx + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.73ed9f86
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
sub ecx, edi
movzx eax, word [edx]
add eax, 2
cmp eax, ecx
jbe 0x73ed9d87
sub eax, ecx
mov ecx, esi
push eax
call fcn.73ed9209
cmp dword [ebp - 0x14], 0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
je 0x73ed9db4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push eax
push edi
push esi
call fcn.73f1502f
test eax, eax
je 0x73ed9db4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 4], ecx
mov ecx, ebx
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
call fcn.73f161c8
mov al, 1
jmp 0x73ed9c8c