Function at 0x4de070
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 0x4de0d0
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x4de0dd
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 0x4de0ee
inc eax
jmp 0x4de0f4
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.004b1130
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4de185
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 0x4de156
push 0
push edx
push eax
mov edx, 0x7d
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de181
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 0x4de1f9
cmp dword [ebp + 0x14], ebx
jle 0x4de1f9
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 0x4de1c6
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
mov edx, 0x4e
call fcn.00491ae0
add esp, 0xc
jmp 0x4de1f9
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 0x4de5fd
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004ddfe0
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 0x4de28c
add edx, dword [esp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4de277
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4de2d5
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 0x4de2c1
mov edx, dword [edi + 8]
cmp dword [esi + 0x78], ecx
jg 0x4de2ae
push 0
push 0
push edx
mov edx, 0x77
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4de2d5
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 0x4de2fe
push eax
push dword [esp + 0x10]
mov edx, 0x59
mov ecx, esi
push dword [esp + 0x34]
call fcn.00491ae0
add esp, 0xc
jmp 0x4de32d
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 0x4de338
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], bl
je 0x4de346
mov ecx, 0x5cdb78
jmp 0x4de34f
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 0x4de8ac
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.0054b880
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x57], bl
je 0x4de3a3
push dword [esp + 0x20]
mov edx, 0xfffffff7
call fcn.004925f0
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x4de3d9
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 0x4de3ce
push 0xfffffffffffffff7
push dword [esp + 0x24]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.00492840
mov eax, dword [esp + 0x28]
add esp, 8
jmp 0x4de3d9
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.004dfdc0
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 0x4de422
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de446
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 0x4de480
push 0
push eax
push edx
mov edx, 0xc
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de4ab
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 0x4de4cc
push 0
push 0
push edx
mov edx, 0x91
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de4f3
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 0x4de546
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4de51b
push 0
push edx
push eax
mov edx, 0x14
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de546
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 0x4de557
mov eax, 0x5cdb78
jmp 0x4de56c
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 0x4de5a1
push eax
push dword [esp + 0x30]
mov edx, 0x4e
push dword [esp + 0x14]
call fcn.00491ae0
add esp, 0xc
jmp 0x4de5d4
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 0x4de5e5
mov eax, 0x5cdb78
jmp 0x4de5fa
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 0x4de7a8
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 0x4de63c
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.00491ae0
mov edx, dword [esp + 0x2c]
lea ebx, [esi + 0x70]
add esp, 0xc
jmp 0x4de675
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 0x4de69b
push 0
push 0
push edx
mov edx, 0x22
mov ecx, esi
call fcn.00491ae0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4de6c9
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 0x4de6f0
push eax
push 0
push edx
mov edx, 0x27
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov ebx, eax
jmp 0x4de72a
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 0x4de754
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 0x4de772
push 0
push 0
push edx
mov edx, 0x81
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
jmp 0x4de7a8
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 0x4de7cc
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004ddfe0
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 0x4de808
push eax
push dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov edi, eax
jmp 0x4de84f
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 0x4de86e
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 0x4de8ac
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
test edx, edx
jne 0x4de880
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x4de888
mov ebx, dword [esi + 0x74]
dec ebx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4de89f
mov eax, 0x5cdb78
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