Function at 0x4db050
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 0x4db0b0
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x4db0bd
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 0x4db0ce
inc eax
jmp 0x4db0d4
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.004ae110
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4db165
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 0x4db136
push 0
push edx
push eax
mov edx, 0x7d
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db161
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 0x4db1d9
cmp dword [ebp + 0x14], ebx
jle 0x4db1d9
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 0x4db1a6
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
mov edx, 0x4e
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db1d9
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 0x4db5dd
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004dafc0
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 0x4db26c
add edx, dword [esp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4db257
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4db2b5
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 0x4db2a1
mov edx, dword [edi + 8]
cmp dword [esi + 0x78], ecx
jg 0x4db28e
push 0
push 0
push edx
mov edx, 0x77
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4db2b5
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 0x4db2de
push eax
push dword [esp + 0x10]
mov edx, 0x59
mov ecx, esi
push dword [esp + 0x34]
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db30d
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 0x4db318
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], bl
je 0x4db326
mov ecx, 0x5c24f8
jmp 0x4db32f
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 0x4db88c
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.005479f0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x57], bl
je 0x4db383
push dword [esp + 0x20]
mov edx, 0xfffffff7
call fcn.0048f5b0
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x4db3b9
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 0x4db3ae
push 0xfffffffffffffff7
push dword [esp + 0x24]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.0048f800
mov eax, dword [esp + 0x28]
add esp, 8
jmp 0x4db3b9
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.004dcda0
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 0x4db402
push edx
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db426
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 0x4db460
push 0
push eax
push edx
mov edx, 0xc
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db48b
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 0x4db4ac
push 0
push 0
push edx
mov edx, 0x91
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db4d3
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 0x4db526
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x4db4fb
push 0
push edx
push eax
mov edx, 0x14
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db526
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 0x4db537
mov eax, 0x5c24f8
jmp 0x4db54c
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 0x4db581
push eax
push dword [esp + 0x30]
mov edx, 0x4e
push dword [esp + 0x14]
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db5b4
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 0x4db5c5
mov eax, 0x5c24f8
jmp 0x4db5da
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 0x4db788
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 0x4db61c
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.0048eaa0
mov edx, dword [esp + 0x2c]
lea ebx, [esi + 0x70]
add esp, 0xc
jmp 0x4db655
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 0x4db67b
push 0
push 0
push edx
mov edx, 0x22
mov ecx, esi
call fcn.0048eaa0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4db6a9
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 0x4db6d0
push eax
push 0
push edx
mov edx, 0x27
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov ebx, eax
jmp 0x4db70a
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 0x4db734
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 0x4db752
push 0
push 0
push edx
mov edx, 0x81
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4db788
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 0x4db7ac
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x10]
push dword [ebp + 8]
call fcn.004dafc0
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 0x4db7e8
push eax
push dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0048eaa0
add esp, 0xc
mov edi, eax
jmp 0x4db82f
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 0x4db84e
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 0x4db88c
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
test edx, edx
jne 0x4db860
mov edx, dword [esi + 0x74]
test ebx, ebx
jns 0x4db868
mov ebx, dword [esi + 0x74]
dec ebx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4db87f
mov eax, 0x5c24f8
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