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

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x2ec, 0
push eax
sub ebp, 0x82
lea edx, [ebp - 0x166]
mov eax, 0x4111b1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00411c71
push eax
call dword [ebx]
lea edx, [ebp - 0x166]
mov ebx, eax
mov esi, eax
mov eax, 0x4111d1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push ebx
call dword [edi]
mov dword [ebp - 0x1e], eax
cmp dword [ebp - 0x26e], 0
jne 0x41155b
push 0
call dword [ebp - 0x1e]
mov dword [ebp - 0x26e], eax
lea edx, [ebp - 0x166]
mov eax, 0x4111e2
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
push 0x104
mov dword [ebp - 0x5e], eax
lea eax, [ebp - 0x26a]
push eax
push dword [ebp - 0x26e]
call dword [ebp - 0x5e]
mov eax, dword [ebp - 0x26e]
mov edx, eax
add edx, dword [eax + 0x3c]
mov dword [ebp + 0x72], edx
movzx eax, word [edx + 0x14]
add edx, 0x18
add edx, eax
mov eax, dword [ebp + 0x72]
mov dword [ebp - 0xa], edx
movzx eax, word [eax + 6]
lea edx, [ebp - 0x166]
mov dword [ebp + 0x2a], eax
mov eax, 0x4111ba
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp + 0x1a], eax
mov eax, 0x4111f5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp - 0x1a], eax
mov eax, 0x411201
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp - 0x2e], eax
mov eax, 0x411214
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
mov dword [ebp - 0x16], eax
lea edx, [ebp - 0x166]
mov eax, 0x411222
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp - 0x22], eax
mov eax, 0x411232
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp + 0xe], eax
mov eax, 0x41123e
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp + 0x76], eax
mov eax, 0x41124d
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp - 0x2a], eax
mov eax, 0x41125f
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
lea edx, [ebp - 0x166]
mov dword [ebp + 2], eax
mov eax, 0x4111c6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00411c71
push eax
push esi
call dword [ebx]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp - 0xe], eax
lea eax, [ebp - 0x26a]
push eax
call dword [ebp - 0x1a]
mov dword [ebp + 0x2e], eax
cmp eax, 0xffffffff
jne 0x411702
lea eax, [ebp - 0x26a]
call fcn.0041139c
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0x2e]
call dword [ebp - 0x2e]
mov dword [ebp - 0x62], eax
test eax, eax
jne 0x411724
lea eax, [ebp - 0x26a]
call fcn.0041139c
push 0
push 0
push 0
push 4
push dword [ebp - 0x62]
call dword [ebp - 0x16]
mov dword [ebp + 0x22], eax
test eax, eax
jne 0x411744
lea eax, [ebp - 0x26a]
call fcn.0041139c
mov esi, dword [ebp + 0x22]
add esi, dword [0x4110e7]
cmp dword [esi], 0x14181996
je 0x411760
lea eax, [ebp - 0x26a]
call fcn.00411387
lea eax, [esi + 0x54]
mov dword [ebp + 0x4a], eax
mov eax, dword [esi + 0x1c]
shl eax, 4
add eax, dword [ebp + 0x4a]
mov edx, dword [eax + 0x1c]
push 0x10004
add edx, eax
push 0
mov dword [ebp - 0x5a], edx
call dword [ebp + 0x1a]
mov dword [ebp + 0x42], eax
test eax, eax
jne 0x411793
lea eax, [ebp - 0x26a]
call fcn.00411362
mov eax, dword [ebp + 0x72]
mov eax, dword [eax + 0x38]
dec eax
mov dword [ebp + 0x1e], eax
mov eax, dword [ebp + 0x72]
add eax, 0x78
mov dword [ebp + 0x5e], eax
call dword [ebp - 0x2a]
push 0
push 0
push eax
mov dword [ebp - 0x32], eax
call dword [ebp + 2]
mov eax, dword [ebp + 0x1a]
mov dword [0x41135a], eax
mov eax, dword [ebp - 0xe]
mov dword [0x41135e], eax
mov edx, dword [ebp + 0x72]
mov eax, dword [esi + 0x20]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x16], eax
mov eax, dword [ebp - 0x26e]
mov ebx, dword [ebp + 0x16]
add eax, edx
sub ebx, edx
inc eax
lea edx, [ebx - 5]
mov dword [eax], edx
mov edi, dword [ebp + 0x4a]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x62], 0
mov dword [ebp - 6], eax
jmp 0x41181f
mov dword [ebp - 0x52], 2
cmp dword [ebp - 0x52], 4
je 0x411819
mov eax, dword [edi]
cmp eax, dword [esi + 0x3c]
je 0x411819
lea eax, [ebp - 0x56]
push eax
push dword [ebp - 0x52]
push dword [ebp + 0x46]
push dword [ebp - 0x4e]
call dword [ebp + 0x76]
inc dword [ebp + 0x62]
add edi, 0x10
mov eax, dword [ebp + 0x62]
cmp eax, dword [ebp - 6]
jae 0x4118b2
imul eax, dword [edi], 0x28
mov edx, dword [ebp - 0xa]
add edx, eax
mov eax, edx
mov dword [ebp + 0x36], edx
mov edx, dword [ebp - 0x26e]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x4e], edx
mov eax, dword [edi]
cmp eax, dword [esi + 0x3c]
jne 0x411851
mov eax, dword [esi + 0x40]
add dword [ebp - 0x4e], eax
mov eax, dword [edi + 8]
mov dword [ebp + 0x46], eax
lea eax, [ebp - 0x52]
push eax
push 4
push dword [ebp + 0x46]
push dword [ebp - 0x4e]
lea ebx, [ebp - 0x4e]
call dword [ebp + 0x76]
push dword [ebp + 0x42]
lea edx, [ebp - 0x5a]
lea eax, [ebp - 0x26a]
push dword [ebp + 0x46]
mov ecx, dword [edi + 0xc]
call fcn.00411c24
mov eax, dword [ebp + 0x36]
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x24]
and edx, 0x80000000
and eax, 0x80000000
cmp edx, eax
je 0x4117fc
test byte [edi + 4], 0x20
je 0x4117f5
mov dword [ebp - 0x52], 0x20
jmp 0x4117fc
cmp dword [esi + 0x24], 0
je 0x4119dc
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x26e]
mov dword [ebp + 0x26], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 2], eax
mov eax, dword [ebp + 0x5e]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 0x5e]
mov dword [ebp + 0x32], eax
add eax, dword [edx + 0x64]
mov dword [ebp - 0x66], eax
lea eax, [ebp - 0x4a]
push eax
push 4
push dword [ebp - 2]
push dword [ebp + 0x26]
call dword [ebp + 0x76]
mov eax, dword [ebp - 0x26e]
add eax, dword [esi + 0x24]
mov dword [ebp + 0x7e], eax
mov dword [ebp - 0x26], eax
jmp 0x411904
add dword [ebp + 0x7e], 0x14
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4119cc
mov edx, dword [ebp + 0x7e]
cmp edx, dword [ebp - 0x26]
jbe 0x411925
mov ebx, dword [ebp + 0x7e]
mov edx, dword [edx + 0x10]
cmp edx, dword [ebx - 4]
je 0x411900
mov edx, dword [ebp - 0x26e]
add edx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edx
mov dword [ebp + 0x4e], edx
call dword [eax]
mov dword [ebp - 0x36], eax
test eax, eax
jne 0x41194d
mov edx, dword [ebp + 0x4e]
lea eax, [ebp - 0x26a]
call fcn.004113b1
mov eax, dword [ebp + 0x7e]
mov edi, dword [ebp - 0x26e]
add edi, dword [eax + 0x10]
jmp 0x411988
test eax, 0x80000000
jne 0x41196d
add eax, dword [ebp - 0x26e]
lea ebx, [eax + 2]
jmp 0x4119ab
mov edx, eax
and edx, 0x7fffffff
shr edx, 0x10
and edx, 0xffff
movzx edx, dx
test edx, edx
je 0x4119a8
add edi, 4
mov eax, dword [edi]
test eax, eax
je 0x411900
cmp eax, dword [ebp + 0x32]
jb 0x41195b
cmp eax, dword [ebp - 0x66]
jae 0x41195b
add eax, dword [ebp - 0x26e]
mov eax, dword [eax]
mov dword [edi], eax
jmp 0x411985
movzx ebx, ax
push ebx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x36]
call dword [eax]
mov dword [edi], eax
test eax, eax
jne 0x411985
mov edx, dword [ebp + 0x4e]
lea eax, [ebp - 0x26a]
call fcn.004113ed
jmp 0x411985
lea eax, [ebp - 0x46]
push eax
push dword [ebp - 0x4a]
push dword [ebp - 2]
push dword [ebp + 0x26]
call dword [ebp + 0x76]
mov eax, dword [ebp + 0x72]
mov edx, dword [ebp - 0x26e]
sub edx, dword [eax + 0x34]
mov dword [ebp + 0xa], edx
je 0x411baf
cmp dword [esi + 0x30], 0
je 0x4119fd
cmp dword [esi + 0x34], 0
jne 0x411a08
lea eax, [ebp - 0x26a]
call fcn.004114cf
mov dword [ebp + 0x7a], 0
mov dword [ebp + 0x6a], 0
mov dword [ebp - 0x42], 4
mov edi, dword [ebp - 0x26e]
mov eax, dword [esi + 0x34]
add edi, dword [esi + 0x30]
mov dword [ebp + 0x56], eax
cmp dword [ebp + 0x56], 0
je 0x411b95
mov eax, dword [ebp - 0x26e]
add eax, dword [edi]
mov dword [ebp - 0x12], eax
mov eax, dword [edi + 4]
mov dword [ebp + 0x66], eax
test eax, eax
je 0x411b95
sub eax, 8
shr eax, 1
mov dword [ebp + 0x52], eax
lea eax, [edi + 8]
mov dword [ebp + 0x5a], eax
dec dword [ebp + 0x52]
cmp dword [ebp + 0x52], 0xffffffff
je 0x411b88
mov eax, dword [ebp + 0x5a]
mov ax, word [eax]
movzx edx, ax
sar edx, 0xc
add dword [ebp + 0x5a], 2
cmp edx, 3
jne 0x411a5d
and ah, 0xf
movzx ebx, ax
add ebx, dword [ebp - 0x12]
cmp ebx, dword [ebp + 0x6a]
jb 0x411b7e
cmp dword [ebp - 0x42], 4
je 0x411aab
lea eax, [ebp - 0x56]
push eax
mov eax, dword [ebp + 0x6a]
push dword [ebp - 0x42]
sub eax, dword [ebp + 0x7a]
push eax
push dword [ebp + 0x7a]
call dword [ebp + 0x76]
mov eax, ebx
sub eax, dword [ebp - 0x26e]
mov dword [ebp + 0x6e], 0
mov dword [ebp + 0x12], eax
mov eax, dword [ebp - 0xa]
jmp 0x411ac8
inc dword [ebp + 0x6e]
add eax, 0x28
mov edx, dword [ebp + 0x6e]
cmp edx, dword [ebp + 0x2a]
jge 0x411b6b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
ja 0x411ae2
mov ecx, dword [eax + 8]
mov dword [ebp + 0x3e], ecx
mov ecx, dword [ebp + 0x3e]
add ecx, dword [ebp + 0x1e]
mov dword [ebp - 0x3e], ecx
mov ecx, dword [ebp + 0x1e]
mov dword [ebp - 0x3a], ecx
not dword [ebp - 0x3a]
mov ecx, dword [ebp - 0x3e]
and ecx, dword [ebp - 0x3a]
add ecx, edx
mov dword [ebp + 0x3a], ecx
cmp edx, dword [ebp + 0x12]
ja 0x411ac2
mov ecx, dword [ebp + 0x12]
cmp ecx, dword [ebp + 0x3a]
jae 0x411ac2
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x26e]
mov dword [ebp + 6], eax
add ecx, edx
mov edx, dword [ebp - 0x26e]
mov eax, dword [ebp + 0x4a]
add edx, dword [ebp + 0x3a]
mov dword [ebp + 0x7a], ecx
mov dword [ebp + 0x6a], edx
xor edx, edx
jmp 0x411b37
inc edx
add eax, 0x10
cmp edx, dword [ebp - 6]
jae 0x411b49
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x6e]
jne 0x411b33
mov eax, dword [eax + 4]
mov dword [ebp + 6], eax
test byte [ebp + 9], 0x80
jne 0x411b64
lea eax, [ebp - 0x42]
push eax
mov eax, dword [ebp + 0x6a]
push 4
sub eax, dword [ebp + 0x7a]
push eax
push dword [ebp + 0x7a]
call dword [ebp + 0x76]
jmp 0x411b6b
mov dword [ebp - 0x42], 4
mov eax, dword [ebp + 0x6e]
cmp eax, dword [ebp + 0x2a]
jne 0x411b7e
lea eax, [ebp - 0x26a]
call fcn.00411387
mov eax, dword [ebp + 0xa]
add dword [ebx], eax
jmp 0x411a5d
mov eax, dword [ebp + 0x66]
sub dword [ebp + 0x56], eax
add edi, eax
jmp 0x411a2c
cmp dword [ebp - 0x42], 4
je 0x411baf
lea eax, [ebp - 0x56]
push eax
mov eax, dword [ebp + 0x6a]
push dword [ebp - 0x42]
sub eax, dword [ebp + 0x7a]
push eax
push dword [ebp + 0x7a]
call dword [ebp + 0x76]
cmp dword [esi + 0x44], 0
je 0x411bec
mov eax, dword [ebp + 0x5e]
mov edx, dword [ebp - 0x26e]
add edx, dword [eax + 0x48]
mov ebx, dword [edx + 8]
mov eax, edx
mov edx, dword [ebx]
mov ebx, dword [ebp - 0x26e]
add ebx, dword [esi + 0x44]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, dword [eax]
mov eax, edx
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov edi, eax
push edi
repne movsb byte es:[edi], byte [esi]
pop edi
push dword [ebp + 0x22]
call dword [ebp - 0x22]
push dword [ebp - 0x62]
call dword [ebp + 0xe]
push dword [ebp + 0x2e]
call dword [ebp + 0xe]
push 0
push 0
push dword [ebp - 0x32]
call dword [ebp + 2]
push dword [ebp + 0x42]
call dword [ebp - 0xe]
mov eax, dword [ebp - 0x26e]
add eax, dword [ebp + 0x16]
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret