Function at 0x4e55d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov eax, ecx
mov dword [esp + 0x1c], 0
push esi
mov dword [esp + 0x10], eax
xor ebx, ebx
push edi
mov esi, dword [eax + 8]
mov edi, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], esi
mov eax, dword [edi]
movzx ecx, byte [edi + 0x20]
not ecx
and ecx, 1
mov eax, dword [eax]
mov dword [esp + 0x30], eax
add eax, ecx
add eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4e5630
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x4e563d
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x34]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e564e
inc eax
jmp 0x4e5654
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [edi]
call fcn.004b8690
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4e56e5
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
mov eax, dword [edi + 8]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4e56b6
push 0
push edx
push eax
mov edx, 0x7d
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e56e1
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov eax, dword [esp + 0x20]
cmp dword [ebp + 0x18], ebx
jne 0x4e5759
cmp dword [ebp + 0x14], ebx
jle 0x4e5759
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0xc]
add edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x38], eax
cmp dword [ecx + 0x78], eax
jg 0x4e5726
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
mov edx, 0x4e
call fcn.00499040
add esp, 0xc
jmp 0x4e5759
mov edi, dword [ebp + 0xc]
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], ebx
cmp dword [esp + 0x18], ebx
jle 0x4e5b5d
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004e5540
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 4]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x2c], ecx
mov ecx, edx
sub ecx, dword [edi + 4]
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x4e57ec
add edx, dword [esp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4e57d7
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4e5835
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x14
jmp 0x4e5821
mov edx, dword [edi + 8]
cmp dword [esi + 0x78], ecx
jg 0x4e580e
push 0
push 0
push edx
mov edx, 0x77
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4e5835
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x77
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], ebx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esi + 0x74]
mov eax, dword [edi + 4]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4e585e
push eax
push dword [esp + 0x10]
mov edx, 0x59
mov ecx, esi
push dword [esp + 0x34]
call fcn.00499040
add esp, 0xc
jmp 0x4e588d
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], ebx
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x4e5898
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], bl
je 0x4e58a6
mov ecx, 0x5d5a30
jmp 0x4e58af
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
cmp byte [eax + 0x57], bl
jne 0x4e5e0c
mov eax, dword [ebp + 0x14]
add eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x20], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call fcn.00552ad0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x57], bl
je 0x4e5903
push dword [esp + 0x20]
mov edx, 0xfffffff7
call fcn.00499b50
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x4e5939
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 - 0x13], bl
lea ecx, [eax + ecx*4]
je 0x4e592e
push 0xfffffffffffffff7
push dword [esp + 0x24]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.00499da0
mov eax, dword [esp + 0x28]
add esp, 8
jmp 0x4e5939
mov eax, dword [esp + 0x20]
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf7
movzx ecx, word [eax + 8]
movzx eax, word [eax + 6]
mov edx, dword [edi]
sub ecx, eax
dec ecx
push ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
call fcn.004e7320
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x20], eax
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4e5982
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e59a6
mov edi, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], edx
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], ebx
mov ecx, dword [esp + 0x14]
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x10], eax
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], edx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4e59e0
push 0
push eax
push edx
mov edx, 0xc
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e5a0b
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 8]
cmp dword [esi + 0x78], ecx
jg 0x4e5a2c
push 0
push 0
push edx
mov edx, 0x91
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e5a53
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e5aa6
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4e5a7b
push 0
push edx
push eax
mov edx, 0x14
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e5aa6
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], bl
je 0x4e5ab7
mov eax, 0x5d5a30
jmp 0x4e5acc
mov ecx, dword [esp + 0x28]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x74]
cmp dword [ecx + 0x78], edx
jg 0x4e5b01
push eax
push dword [esp + 0x30]
mov edx, 0x4e
push dword [esp + 0x14]
call fcn.00499040
add esp, 0xc
jmp 0x4e5b34
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], ebx
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], bl
je 0x4e5b45
mov eax, 0x5d5a30
jmp 0x4e5b5a
mov ecx, dword [esp + 0x20]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x1c], ebx
je 0x4e5d08
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 8]
mov dword [esp + 0x20], edx
lea eax, [ecx + 4]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4e5b9c
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.00499040
mov edx, dword [esp + 0x2c]
lea ebx, [esi + 0x70]
add esp, 0xc
jmp 0x4e5bd5
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x70]
mov eax, dword [ebx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x3b
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x78], ecx
jg 0x4e5bfb
push 0
push 0
push edx
mov edx, 0x22
mov ecx, esi
call fcn.00499040
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4e5c29
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x22
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x74]
cmp dword [esi + 0x78], ebx
jg 0x4e5c50
push eax
push 0
push edx
mov edx, 0x27
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov ebx, eax
jmp 0x4e5c8a
mov edi, dword [esp + 0xc]
lea eax, [ebx + 1]
add edi, dword [esp + 0x18]
lea ecx, [ebx + ebx*4]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x20]
cmp byte [eax + 0x57], 0
jne 0x4e5cb4
mov eax, dword [esp + 0x2c]
lea ecx, [ebx + ebx*4]
mov edi, dword [esp + 0x30]
sub edi, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0x10], edi
mov edi, dword [esp + 0x10]
mov byte [eax + ecx*4 + 1], 0xfd
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e5cd2
push 0
push 0
push edx
mov edx, 0x81
mov ecx, esi
call fcn.00499040
add esp, 0xc
jmp 0x4e5d08
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
jne 0x4e5d2c
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004e5540
add esp, 0xc
mov dword [esp + 0x24], eax
movzx edx, byte [edi + 0x20]
mov eax, dword [esp + 0xc]
and edx, 1
mov ecx, dword [edi + 8]
add edx, 0x89
mov edi, dword [esi + 0x74]
add eax, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edi
cmp dword [esi + 0x78], edi
jg 0x4e5d68
push eax
push dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00499040
add esp, 0xc
mov edi, eax
jmp 0x4e5daf
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4e5dce
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x18]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
test ebx, ebx
je 0x4e5e0c
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
test edx, edx
jne 0x4e5de0
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x4e5de8
mov ebx, dword [esi + 0x74]
dec ebx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4e5dff
mov eax, 0x5d5a30
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret