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

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x2e8, 0
push eax
sub ebp, 0x82
lea edx, [ebp - 0x162]
mov eax, 0x42010ff
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryA]
call fcn.04201cf3
push eax
call dword [ebx]
lea edx, [ebp - 0x162]
mov esi, eax
mov ebx, eax
mov eax, 0x420111f
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push esi
call dword [edi]
mov dword [ebp - 0xe], eax
cmp dword [ebp - 0x26a], 0
jne 0x42014a9
push 0
call dword [ebp - 0xe]
mov dword [ebp - 0x26a], eax
lea edx, [ebp - 0x162]
mov eax, 0x4201130
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
push 0x104
mov dword [ebp - 0x52], eax
lea eax, [ebp - 0x266]
push eax
push dword [ebp - 0x26a]
call dword [ebp - 0x52]
mov eax, dword [ebp - 0x26a]
mov edi, eax
add edi, dword [eax + 0x3c]
lea eax, [edi + 0x18]
movzx edx, word [edi + 0x14]
add eax, edx
mov dword [ebp + 0x1e], eax
movzx eax, word [edi + 6]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x2a], eax
mov eax, 0x4201108
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 6], eax
mov eax, 0x4201143
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1e], eax
mov eax, 0x420114f
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1a], eax
mov eax, 0x4201162
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
mov dword [ebp - 0x26], eax
lea edx, [ebp - 0x162]
mov eax, 0x4201170
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x62], eax
mov eax, 0x4201180
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0xe], eax
mov eax, 0x420118c
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x6e], eax
mov eax, 0x420119b
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x22], eax
mov eax, 0x42011ad
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 6], eax
mov eax, 0x4201114
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.04201cf3
push eax
push ebx
call dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp + 0x5a], eax
lea eax, [ebp - 0x266]
push eax
call dword [ebp - 0x1e]
mov dword [ebp + 0x42], eax
cmp eax, 0xffffffff
jne 0x420164a
lea eax, [ebp - 0x266]
call fcn.042012ea
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0x42]
call dword [ebp - 0x1a]
mov dword [ebp + 0xa], eax
test eax, eax
jne 0x420166c
lea eax, [ebp - 0x266]
call fcn.042012ea
push 0
push 0
push 0
push 4
push dword [ebp + 0xa]
call dword [ebp - 0x26]
mov dword [ebp + 0x12], eax
test eax, eax
jne 0x420168c
lea eax, [ebp - 0x266]
call fcn.042012ea
mov esi, dword [ebp + 0x12]
add esi, dword [0x4201035]
cmp dword [esi], 0x4181996
je 0x42016a8
lea eax, [ebp - 0x266]
call fcn.042012d5
lea eax, [esi + 0x54]
mov dword [ebp + 0x52], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 0x52]
shl eax, 4
push 0x10004
add edx, eax
push 0
mov dword [ebp - 0x4e], edx
call dword [ebp - 6]
mov dword [ebp + 0x6a], eax
test eax, eax
jne 0x42016d8
lea eax, [ebp - 0x266]
call fcn.042012b0
mov edx, dword [ebp - 0x26a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [edi + 0x28]
mov ebx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp - 0x4e]
mov dword [ebp + 0x1a], edx
add edx, dword [esi + 8]
call fcn.04201df8
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x420170e
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.04201435
mov edx, dword [ebp + 0x1a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [ebp - 0x4e]
mov ebx, dword [esi + 0x14]
add edx, dword [esi + 0x10]
call fcn.04201df8
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x4201739
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.04201435
mov eax, dword [edi + 0x38]
dec eax
mov dword [ebp + 0x3a], eax
lea eax, [edi + 0x78]
mov ebx, dword [ebp - 0x26a]
mov dword [ebp + 0x4a], eax
sub ebx, dword [edi + 0x34]
je 0x4201773
cmp dword [esi + 0x18], 0
jne 0x4201762
lea eax, [ebp - 0x266]
call fcn.0420141d
mov ecx, dword [ebp - 0x26a]
mov eax, dword [ebp - 0x4e]
mov edx, dword [esi + 0x18]
call fcn.04201c94
mov eax, dword [esi + 0x18]
add dword [ebp - 0x4e], eax
call dword [ebp - 0x22]
push 0
push 0
push eax
mov dword [ebp - 0x12], eax
call dword [ebp + 6]
mov eax, dword [ebp - 6]
mov dword [0x42012a8], eax
mov eax, dword [ebp + 0x5a]
mov dword [0x42012ac], eax
mov eax, dword [esi + 0x20]
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x56], eax
mov eax, dword [ebp - 0x26a]
mov ebx, dword [ebp - 0x56]
add eax, edx
sub ebx, edx
inc eax
lea edx, [ebx - 5]
mov dword [eax], edx
mov eax, dword [ebp + 0x52]
mov dword [ebp + 0x7e], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x5e], 0
mov dword [ebp + 0x16], eax
jmp 0x42017f6
mov dword [ebp - 0x46], 2
cmp dword [ebp - 0x46], 4
je 0x42017ef
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
je 0x42017ef
lea eax, [ebp - 0x4a]
push eax
push dword [ebp - 0x46]
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
call dword [ebp + 0x6e]
inc dword [ebp + 0x5e]
add dword [ebp + 0x7e], 0x10
mov eax, dword [ebp + 0x5e]
cmp eax, dword [ebp + 0x16]
jae 0x420189b
mov eax, dword [ebp + 0x7e]
imul eax, dword [eax], 0x28
mov edx, dword [ebp + 0x1e]
add edx, eax
mov eax, edx
mov dword [ebp + 2], edx
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x7e]
mov dword [ebp - 0x42], edx
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
jne 0x420182e
mov eax, dword [esi + 0x40]
add dword [ebp - 0x42], eax
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax + 8]
mov dword [ebp + 0x4e], eax
lea eax, [ebp - 0x46]
push eax
push 4
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
lea ebx, [ebp - 0x42]
call dword [ebp + 0x6e]
push dword [ebp + 0x6a]
mov ecx, dword [ebp + 0x7e]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [ebp + 0x4e]
mov ecx, dword [ecx + 0xc]
call fcn.04201c2a
mov eax, dword [ebp + 0x7e]
mov edx, dword [ebp + 2]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x24]
and eax, 0x80000000
and edx, 0x80000000
cmp eax, edx
je 0x42017cf
mov eax, dword [ebp + 0x7e]
test byte [eax + 4], 0x20
je 0x42017c8
mov dword [ebp - 0x46], 0x20
jmp 0x42017cf
cmp dword [esi + 0x24], 0
je 0x42019d2
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x26a]
mov dword [ebp + 0x2e], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x32], eax
mov eax, dword [ebp + 0x4a]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 0x4a]
mov dword [ebp - 2], eax
add eax, dword [edx + 0x64]
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x3e]
push eax
push 4
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
add eax, dword [esi + 0x24]
mov dword [ebp + 0x76], eax
mov dword [ebp - 0xa], eax
jmp 0x42018ed
add dword [ebp + 0x76], 0x14
mov eax, dword [ebp + 0x76]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42019c2
mov edx, dword [ebp + 0x76]
cmp edx, dword [ebp - 0xa]
jbe 0x420190e
mov ebx, dword [ebp + 0x76]
mov edx, dword [edx + 0x10]
cmp edx, dword [ebx - 4]
je 0x42018e9
mov edx, dword [ebp - 0x26a]
add edx, eax
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryA]
push edx
mov dword [ebp + 0x56], edx
call dword [eax]
mov dword [ebp - 0x5e], eax
test eax, eax
jne 0x4201936
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.042012ff
mov eax, dword [ebp + 0x76]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x10]
mov dword [ebp + 0x7a], edx
jmp 0x4201975
test eax, 0x80000000
jne 0x4201959
add eax, dword [ebp - 0x26a]
lea ebx, [eax + 2]
jmp 0x420199e
mov edx, eax
and edx, 0x7fffffff
shr edx, 0x10
and edx, 0xffff
movzx edx, dx
test edx, edx
je 0x420199b
add dword [ebp + 0x7a], 4
mov eax, dword [ebp + 0x7a]
mov eax, dword [eax]
test eax, eax
je 0x42018e9
cmp eax, dword [ebp - 2]
jb 0x4201947
cmp eax, dword [ebp - 0x16]
jae 0x4201947
add eax, dword [ebp - 0x26a]
mov edx, dword [ebp + 0x7a]
mov eax, dword [eax]
mov dword [edx], eax
jmp 0x4201971
movzx ebx, ax
push ebx
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
push dword [ebp - 0x5e]
call dword [eax]
mov edx, dword [ebp + 0x7a]
mov dword [edx], eax
test eax, eax
jne 0x4201971
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.0420133b
jmp 0x4201971
lea eax, [ebp - 0x3a]
push eax
push dword [ebp - 0x3e]
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
sub eax, dword [edi + 0x34]
mov dword [ebp + 0x3e], eax
je 0x4201bb3
cmp dword [esi + 0x30], 0
jne 0x42019f5
lea eax, [ebp - 0x266]
call fcn.0420141d
mov dword [ebp - 0x36], 4
mov dword [ebp - 0x32], 0
push dword [ebp + 0x6a]
lea ebx, [ebp - 0x32]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
call fcn.04201c2a
mov ebx, dword [ebp - 0x32]
mov dword [ebp + 0x72], 0
mov eax, ebx
mov dword [ebp + 0x62], 0
add eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x26a]
mov dword [ebp - 0x5a], eax
cmp ebx, dword [ebp - 0x5a]
jb 0x4201a7a
jmp 0x4201b93
movzx eax, word [ebx]
add eax, 0x101
inc ebx
inc ebx
add edi, eax
jmp 0x4201a93
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 2]
shl edx, 0x10
or eax, edx
add eax, 0x10100
add ebx, 3
jmp 0x4201a50
add edi, dword [ebx]
add ebx, 4
jmp 0x4201a93
mov al, byte [ebx]
inc ebx
cmp al, 1
jb 0x4201a89
jbe 0x4201a54
cmp al, 2
je 0x4201a73
jmp 0x4201a8d
test al, al
je 0x4201a46
movzx eax, al
inc eax
jmp 0x4201a50
cmp edi, dword [ebp + 0x62]
jb 0x4201b89
cmp dword [ebp - 0x36], 4
je 0x4201ab6
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
mov eax, edi
sub eax, dword [ebp - 0x26a]
mov dword [ebp + 0x66], 0
mov dword [ebp + 0x36], eax
mov eax, dword [ebp + 0x1e]
jmp 0x4201ad3
inc dword [ebp + 0x66]
add eax, 0x28
mov edx, dword [ebp + 0x66]
cmp edx, dword [ebp + 0x2a]
jge 0x4201b76
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
ja 0x4201aed
mov ecx, dword [eax + 8]
mov dword [ebp + 0x46], ecx
mov ecx, dword [ebp + 0x46]
add ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2e], ecx
mov ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2a], ecx
not dword [ebp - 0x2a]
mov ecx, dword [ebp - 0x2e]
and ecx, dword [ebp - 0x2a]
add ecx, edx
mov dword [ebp + 0x22], ecx
cmp edx, dword [ebp + 0x36]
ja 0x4201acd
mov ecx, dword [ebp + 0x36]
cmp ecx, dword [ebp + 0x22]
jae 0x4201acd
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x26a]
mov dword [ebp + 0x26], eax
add ecx, edx
mov edx, dword [ebp - 0x26a]
mov eax, dword [ebp + 0x52]
add edx, dword [ebp + 0x22]
mov dword [ebp + 0x72], ecx
mov dword [ebp + 0x62], edx
xor edx, edx
jmp 0x4201b42
inc edx
add eax, 0x10
cmp edx, dword [ebp + 0x16]
jae 0x4201b54
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x66]
jne 0x4201b3e
mov eax, dword [eax + 4]
mov dword [ebp + 0x26], eax
test byte [ebp + 0x29], 0x80
jne 0x4201b6f
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp + 0x62]
push 4
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
jmp 0x4201b76
mov dword [ebp - 0x36], 4
mov eax, dword [ebp + 0x66]
cmp eax, dword [ebp + 0x2a]
jne 0x4201b89
lea eax, [ebp - 0x266]
call fcn.042012d5
mov eax, dword [ebp + 0x3e]
add dword [edi], eax
jmp 0x4201a3c
cmp dword [ebp - 0x36], 4
je 0x4201bad
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
push dword [ebp - 0x32]
call dword [ebp + 0x5a]
cmp dword [esi + 0x44], 0
je 0x4201bf2
mov eax, dword [ebp + 0x4a]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x48]
mov ebx, dword [ebp - 0x26a]
mov edi, dword [edx + 8]
add ebx, dword [esi + 0x44]
mov edi, dword [edi]
mov dword [ebx], edi
mov eax, edx
mov edx, dword [edx + 4]
mov esi, dword [eax]
sub edx, dword [eax]
mov eax, edi
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov ecx, edx
mov edi, eax
push edi
repne movsb byte es:[edi], byte [esi]
pop edi
push dword [ebp + 0x12]
call dword [ebp - 0x62]
push dword [ebp + 0xa]
call dword [ebp + 0xe]
push dword [ebp + 0x42]
call dword [ebp + 0xe]
push 0
push 0
push dword [ebp - 0x12]
call dword [ebp + 6]
push dword [ebp + 0x6a]
call dword [ebp + 0x5a]
mov eax, dword [ebp - 0x26a]
add eax, dword [ebp - 0x56]
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret