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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x501456
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x130]
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
je 0x480319
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x84]
push edx
push eax
call dword [0x506934]
mov ecx, dword [esi + 0x88]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.004ea392
mov eax, dword [esi + 0x1c]
mov ebx, dword [0x50694c]
push 0
push 0
push 0x1200
push eax
call ebx
mov ecx, dword [esi + 0x80]
push ecx
push 1
mov ebp, eax
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], ebp
call fcn.004dd5ff
mov edx, dword [esi + 0x84]
push edx
push 1
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x134], 0
call fcn.004dd5ff
mov eax, dword [edi + 8]
push 1
push eax
mov byte [esp + 0x130], 1
call dword [0x506140]
push eax
call fcn.004dd12b
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push ecx
mov dword [esp + 0x4c], eax
call ebx
push eax
call fcn.004dd12b
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [esi + 0x8c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
jle 0x4802bd
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
push 0
push ecx
push 0x120f
push edx
call ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x94]
push ecx
mov ebp, eax
push ebp
push 0x1203
lea eax, [esp + 0xdc]
push edx
mov dword [esp + 0xa4], 0x37
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], 0x50
call ebx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x1207
push ecx
call ebx
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x74]
jge 0x480115
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x7c]
jg 0x480264
mov eax, dword [esp + 0xa8]
test ah, ah
jns 0x480188
mov ecx, esi
mov dword [esp + 0x44], 4
call fcn.004d1898
mov ecx, dword [esi + 0x1c]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x70], edx
call dword [eax + 0x138]
jmp 0x4801dd
mov eax, dword [esi + 0x54]
mov ebp, dword [0x5068c4]
push 0
neg eax
push eax
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
push edi
mov ecx, esi
call dword [eax + 0x13c]
mov eax, dword [esi + 0x54]
push 0
push eax
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
jge 0x480264
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004dd247
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
push edx
dec eax
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, edi
call fcn.004dcaa7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
push edx
dec eax
push eax
mov ecx, edi
call fcn.004dc4f4
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004dd247
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
push edx
push eax
lea ecx, [esp + 0xd0]
push ecx
mov ecx, edi
call fcn.004dcaa7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
push edx
push eax
mov ecx, edi
call fcn.004dc4f4
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ebp, ecx
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
jl 0x4800a0
mov eax, ebp
test eax, eax
jle 0x4802bd
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x80]
add eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x84]
push eax
push ecx
lea edx, [esp + 0x8c]
push edx
mov ecx, edi
call fcn.004ea9b1
mov ecx, dword [esp + 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [esp + 0x3c]
push edx
mov ecx, edi
call fcn.004dd247
lea ecx, [esp + 0x34]
call fcn.004dd190
lea ecx, [esp + 0x2c]
call fcn.004dd190
mov esi, 0x515f20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 0
mov dword [esp + 0x2c], esi
call fcn.004dd190
lea ecx, [esp + 0x34]
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x34], esi
call fcn.004dd190
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 4