Function at 0x51e4f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x51e50e
add esp, 0xfffffff0
call fcn.00404364
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x51e903
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.004328c0
mov byte [ebx + 0x101], 0
mov byte [ebx + 0xf9], 0
xor eax, eax
mov dword [ebx + 0xf0], eax
mov byte [ebx + 0xf8], 0
xor eax, eax
mov dword [ebx + 0x8c], eax
mov byte [ebx + 0x100], 0
mov byte [ebx + 0x102], 0
test byte [ebx + 0x1c], 0x10
jne 0x51e593
mov eax, dword [0x5d47f8]
mov eax, dword [eax]
test eax, eax
je 0x51e593
cmp dword [0x5c96f8], 0
jne 0x51e593
mov edx, dword [0x5d47f8]
mov dword [0x5c96f8], eax
mov eax, 0x51e370
mov edx, dword [0x5d47f8]
mov dword [edx], eax
mov eax, esi
call fcn.0051e320
test eax, eax
je 0x51e5c9
mov eax, esi
call fcn.0051e320
mov ecx, dword [eax + 8]
lea eax, [ebp - 8]
mov edx, 0x51e938
call fcn.00406820
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40b01c]
call fcn.00414748
call fcn.00404d18
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0x104], 0
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x106], 0
mov byte [ebx + 0x105], 0
xor eax, eax
mov dword [ebx + 0x108], eax
xor eax, eax
mov dword [ebx + 0x10c], eax
mov byte [ebx + 0xc4], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ad030]
call fcn.004ad1f4
mov edi, eax
mov dword [ebx + 0xc0], edi
mov eax, edi
xor edx, edx
call fcn.004ad478
mov eax, dword [ebx + 0xc0]
mov edx, 0x32
call fcn.004ad488
push ebx
push 0x51e3d4
mov eax, dword [ebx + 0xc0]
call fcn.004ad498
mov eax, esi
mov edx, dword [0x49d280]
call fcn.00404058
test al, al
je 0x51e659
mov dword [ebx + 0x38], esi
jmp 0x51e65e
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, esi
mov edx, dword [0x483524]
call fcn.00404058
test al, al
je 0x51e677
mov dword [ebx + 0x8c], esi
jmp 0x51e67f
xor eax, eax
mov dword [ebx + 0x8c], eax
test esi, esi
je 0x51e68c
mov edx, ebx
mov eax, esi
call fcn.0043299c
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
xor eax, eax
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0x40], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51e018]
call fcn.00521e88
mov esi, eax
mov dword [ebx + 0x48], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x521224
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51df14]
call fcn.00521d28
mov esi, eax
mov dword [ebx + 0x44], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x521210
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51e19c]
call fcn.00522048
mov esi, eax
mov dword [ebx + 0x4c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], fcn.0052122c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ef4b4]
call fcn.004fff2c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov byte [esi + 0x1b0], 0
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x6c], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x74], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov dword [ebx + 0x78], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51ddcc]
call fcn.00521be4
mov esi, eax
mov dword [ebx + 0x7c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5213c8
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x43afc0]
call fcn.0043fe90
mov esi, eax
mov dword [ebx + 0xdc], esi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x51e49c
mov dl, 1
mov eax, dword [0x51d740]
call fcn.004b0374
mov esi, eax
mov dword [ebx + 0xd8], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x51e49c
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x98], eax
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0xa4], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0xac], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0xbc], eax
push 0
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ee19c]
call fcn.004fa6b4
mov dword [ebx + 0x88], eax
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x51d874]
call fcn.004a0628
mov esi, eax
mov dword [ebx + 0xf4], esi
mov dword [esi + 0x378], ebx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x51e8d6
movzx edx, byte [eax + 0x331]
mov eax, esi
call fcn.00522c5c
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x51e8ed
test byte [eax + 0x1c], 0x10
je 0x51e8ed
mov eax, ebx
call fcn.00521808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e90a
lea eax, [ebp - 8]
call fcn.0040633c
ret