Function at 0x11ffd20
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1251e38]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov byte [ebp - 0x2d], 1
cmp dword [ebp + 8], 0
jne 0x11ffd47
mov byte [ebp - 0x2d], 2
mov al, byte [ebp - 0x2d]
jmp 0x12001d2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x11ffd67
mov byte [ebp - 0x2d], 5
mov al, byte [ebp - 0x2d]
jmp 0x12001d2
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0x4550
je 0x11ffd8a
mov byte [ebp - 0x2d], 5
mov al, byte [ebp - 0x2d]
jmp 0x12001d2
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x40]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + 0x50]
xor edx, edx
div dword [ecx + 0x38]
test edx, edx
je 0x11ffdd7
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x50]
mov edx, dword [ebp - 0x40]
add ecx, dword [edx + 0x38]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov eax, dword [eax + 0x50]
xor edx, edx
div dword [esi + 0x38]
sub ecx, edx
mov dword [ebp - 0x78], ecx
jmp 0x11ffde0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x2f8]
call eax
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x11ffe0d
mov byte [ebp - 0x2d], 4
mov al, byte [ebp - 0x2d]
jmp 0x12001d2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xa4]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xd8]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xdc]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x2dc]
call eax
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
jmp 0x11ffed8
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x28
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x20], ecx
jae 0x11fff0f
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x2dc]
call eax
add esp, 0xc
jmp 0x11ffec6
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], 0
je 0x11fffd1
cmp dword [ebp - 0x2c], 0
je 0x11fffd1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x20], 0
jmp 0x11fff56
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x44]
cmp dword [edx + 4], 0
je 0x11fffd1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x10]
jae 0x11fffd1
mov edx, dword [ebp - 0x44]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x4c]
jae 0x11fffc6
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
sar ecx, 0xc
cmp ecx, 3
jne 0x11fffbb
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [edx]
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx]
and edx, 0xfff
add eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
mov dword [edx], ecx
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x48], eax
jmp 0x11fff7f
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
jmp 0x11fff4a
mov byte [ebp - 0x18], 0x31
mov byte [ebp - 0x17], 0x1f
mov byte [ebp - 0x16], 8
mov byte [ebp - 0x15], 0x14
mov byte [ebp - 0x14], 0x1f
mov byte [ebp - 0x13], 0x16
mov byte [ebp - 0x12], 0x38
mov byte [ebp - 0x11], 0x1b
mov byte [ebp - 0x10], 9
mov byte [ebp - 0xf], 0x1f
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 0xd], 0x1e
mov byte [ebp - 0xc], 0x16
mov byte [ebp - 0xb], 0x16
mov byte [ebp - 0xa], 0
push 0x7a
push 0xe
lea edx, [ebp - 0x18]
push edx
call fcn.0125e424
add esp, 0xc
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x34]
push edx
call 0x12d580f
add esp, 8
test eax, eax
je 0x120004d
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xe4]
call edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0
je 0x12001cf
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0xc], 0
je 0x12001cf
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xe4]
call ecx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x12000b5
mov byte [ebp - 0x2d], 6
mov al, byte [ebp - 0x2d]
jmp 0x12001d2
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x54]
cmp dword [edx], 0
je 0x12000da
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x54]
add ecx, dword [edx]
mov dword [ebp - 0x5c], ecx
jmp 0x12000e0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx], 0
je 0x12001c1
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
and eax, 0x80000000
je 0x1200154
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x28], 0
je 0x120012e
cmp dword [ebp - 0x6c], 0
je 0x120012e
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov dword [ecx], edx
jmp 0x1200149
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
jmp 0x12001aa
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
add ecx, dword [edx]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
add eax, 2
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x28], 0
je 0x120018b
cmp dword [ebp - 0x74], 0
je 0x120018b
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
jmp 0x12001a1
mov ecx, dword [ebp - 0x70]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x68], ecx
jmp 0x12000e7
mov edx, dword [ebp - 0x54]
add edx, 0x14
mov dword [ebp - 0x54], edx
jmp 0x1200068
mov al, byte [ebp - 0x2d]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.01247fee
mov esp, ebp
pop ebp
ret