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

Disassembly:
push 0xffffffffffffffff
push 0x554d75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov eax, dword [esp + 0xf8]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x10c]
mov ebx, ecx
or edi, 1
mov dword [eax + 0x10c], edi
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebx + 0xc8]
shr ecx, 2
cmp ecx, 2
jl 0x4802d3
mov edi, dword [ebx + 0x5c]
lea ebp, [eax + 0x110]
add edi, 0x110
mov ecx, 4
mov esi, ebp
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x47f296
mov esi, eax
mov ecx, esi
call fcn.00453d30
mov eax, dword [esi + 0x10c]
push 0x10
or al, 1
mov dword [esi + 0x10c], eax
mov eax, dword [ebx + 0x5c]
add eax, 0x110
push eax
push ebp
call fcn.00478bc0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebx + 0x5c]
mov eax, dword [eax + 0x17c]
mov ecx, dword [ecx + 0x17c]
cmp eax, ecx
ja 0x47f2ab
mov eax, ecx
mov ebp, dword [esp + 0x108]
mov ecx, ebp
mov dword [ebp + 0x17c], eax
call fcn.00452bf0
test eax, eax
je 0x4802d3
mov eax, dword [ebx + 0xc8]
test eax, eax
jne 0x47f2db
mov dword [esp + 0x34], 0
jmp 0x47f2e5
mov edx, dword [ebx + 0xc0]
mov dword [esp + 0x34], edx
mov esi, dword [ebx + 0xc8]
mov edi, dword [ebx + 0x5c]
shr esi, 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x48], esi
call fcn.00477cf0
xor eax, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0x55fab8
lea ecx, [esp + 0x9c]
mov dword [esp + 0x100], eax
call fcn.00526da4
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
call fcn.00477cf0
mov edi, 0x55f9d0
mov dword [esp + 0x74], edi
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x100], 2
cmp eax, 6
je 0x480084
cmp eax, 7
je 0x480084
cmp eax, 8
je 0x480084
cmp eax, 1
je 0x47f885
test esi, esi
mov dword [esp + 0x10], 0
jle 0x47f62f
mov eax, dword [esp + 0x34]
xor esi, esi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x20], ecx
add eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3c]
sub eax, 2
je 0x47f690
dec eax
je 0x47f56e
dec eax
jne 0x47f614
xor edi, edi
lea ecx, [esp + 0x24]
mov eax, edi
inc edi
push ecx
mov ecx, dword [ebx + 0x48]
push eax
mov dword [esp + 0x18], edi
call fcn.004d7b90
test eax, eax
je 0x47f614
mov edx, dword [esp + 0x24]
test byte [edx + 8], 4
jne 0x47f3b1
mov ecx, dword [edx + 0x14]
lea eax, [ecx + esi + 7]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47f551
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 6]
sub eax, esi
sub ebp, esi
cmp ebx, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], ebp
jl 0x47f408
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x47f551
cmp eax, 6
jge 0x47f514
push 0x44
call fcn.00528dfb
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47f491
mov edx, dword [esp + 0x1c]
mov eax, dword [0x5ada84]
mov edi, dword [edx + 0x5c]
mov dword [esi], eax
mov ecx, dword [0x5ada84]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x10]
push edi
mov ecx, ebx
mov byte [esp + 0x104], 0xb
call fcn.0040d6b0
mov dword [ebx], 0x55fab8
mov edx, dword [0x5ada84]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x30], edx
mov eax, dword [0x5ada84]
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x40], edi
mov dword [esi + 8], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
jmp 0x47f493
xor esi, esi
mov edi, dword [esp + 0x24]
mov ecx, esi
push edi
mov byte [esp + 0x104], 2
mov dword [esp + 0x48], esi
call fcn.00528038
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00528038
mov edx, dword [edi + 8]
lea ecx, [edi + 0x30]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
push ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0xc], eax
call fcn.00528038
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
call fcn.00528038
mov edx, dword [esp + 0xa4]
push esi
push edx
lea ecx, [esp + 0xa4]
call fcn.005270ac
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x48]
push eax
call fcn.004d7bd0
push eax
lea ecx, [esp + 0x78]
call fcn.00478020
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, 7
jge 0x47f51e
mov eax, 7
cmp ebx, 7
jl 0x47f551
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x47f53d
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47f54c
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
add ecx, 0x10
call fcn.004cac80
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47f62f
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x47f3b1
cmp ebp, 1
jge 0x47f578
mov ebp, 1
cmp ecx, ebp
jl 0x47f614
mov ecx, dword [ebx + 0x44]
lea edx, [ebp - 1]
push edx
call fcn.004d7250
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x47f614
mov eax, dword [esp + 0x20]
xor edi, edi
sub eax, ebp
inc eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x47f614
mov ebp, dword [esp + 0x40]
mov ecx, dword [ebx + 0x44]
lea eax, [esp + 0x18]
push eax
call fcn.004d72a0
test eax, eax
je 0x47f5fb
test edi, edi
je 0x47f5dc
mov eax, dword [esp + 0x18]
lea ecx, [edi + ebp]
cmp eax, ecx
jne 0x47f5cd
inc edi
jmp 0x47f5e5
mov edx, dword [ebx + 0x44]
push edi
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.004cac80
mov ebp, dword [esp + 0x18]
mov edi, 1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jg 0x47f5aa
test edi, edi
mov dword [esp + 0x40], ebp
jle 0x47f614
mov ecx, dword [ebx + 0x44]
mov eax, ebp
push edi
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004cac80
cmp dword [esp + 0x20], esi
jl 0x47f62f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47f37c
mov ebx, dword [esp + 0x108]
lea edx, [esp + 0x50]
push 0
push edx
mov ecx, ebx
call fcn.00455510
mov eax, dword [esp + 0xa4]
xor esi, esi
lea edi, [eax - 1]
test edi, edi
jl 0x47f837
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x3c]
sub eax, 2
je 0x47f814
sub eax, 2
jne 0x47f82e
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0xa0]
mov edx, dword [ecx + esi*4]
mov ecx, dword [eax + esi*4]
push edx
push ecx
mov ecx, ebx
call fcn.00455780
jmp 0x47f82e
xor edi, edi
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x30]
mov eax, edi
inc edi
push edx
push eax
mov dword [esp + 0x18], edi
call fcn.004d7b90
test eax, eax
je 0x47f614
mov edx, dword [esp + 0x30]
test byte [edx + 8], 2
jne 0x47f692
mov ecx, dword [edx + 0x10]
lea eax, [ecx + esi + 3]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47f7f7
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 2]
sub eax, esi
sub ebp, esi
cmp ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], ebp
jl 0x47f6e9
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
jl 0x47f7f7
cmp eax, 2
jge 0x47f7ba
push 0x30
call fcn.00528dfb
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47f755
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x5ada84]
mov edi, dword [eax + 0x5c]
mov dword [esi], ecx
mov edx, dword [0x5ada84]
mov dword [esi + 4], edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x100], 8
call fcn.00477cf0
xor eax, eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0x55fab8
mov dword [esi + 0x2c], edi
mov dword [esi + 8], eax
jmp 0x47f757
xor esi, esi
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
mov byte [esp + 0x104], 2
mov dword [esp + 0x18], esi
call fcn.00528038
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00528038
mov ecx, dword [edi + 8]
push esi
mov dword [esi + 8], ecx
mov edx, dword [esp + 0xa8]
push edx
lea ecx, [esp + 0xa4]
call fcn.005270ac
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x40]
push eax
call fcn.004d7bd0
push eax
lea ecx, [esp + 0x78]
call fcn.00478020
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, 3
jge 0x47f7c4
mov eax, 3
cmp ebx, 3
jl 0x47f7f7
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47f7e3
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47f7f2
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
add ecx, 0xc
call fcn.004cac80
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47f62f
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x47f692
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xa0]
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + esi*4]
push eax
push edx
mov ecx, ebx
call fcn.004556d0
inc esi
cmp esi, edi
jle 0x47f65c
mov esi, 0x55f890
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00477ef0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 0
call fcn.00526dd7
mov dword [esp + 0x50], 0x55f894
mov dword [esp + 0x100], 0xc
mov dword [esp + 0x54], 0
jmp 0x4802b2
lea ecx, [esp + 0x88]
call fcn.00526da4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 0xd
call fcn.00526da4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x100], 0xe
call fcn.00477cf0
mov dword [esp + 0xc4], edi
xor edi, edi
push 0x14
push edi
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0xf
call fcn.00526e04
push 0x14
push edi
lea ecx, [esp + 0xb8]
call fcn.00526e04
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 0x3c]
shr ecx, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x3c]
cmp ecx, edi
jne 0x47f902
mov dword [esp + 0x70], edi
jmp 0x47f909
mov eax, dword [eax + 0x34]
mov dword [esp + 0x70], eax
cmp esi, edi
mov dword [esp + 0x3c], edi
jle 0x47ff86
jmp 0x47f91b
mov edi, dword [ebx + 0x5c]
lea ecx, [esp + 0xe0]
call fcn.00477cf0
mov dword [esp + 0xf4], edi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0x55fb00
mov ecx, dword [ebx + 0x50]
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x104], 3
call fcn.004d7450
test esi, esi
mov dword [esp + 0x48], eax
jle 0x4801e7
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
add edx, 4
add edx, 4
cmp ecx, 1
mov dword [esp + 0x34], edx
jge 0x4800f2
mov ecx, 1
cmp eax, ecx
jl 0x4801d1
sub eax, ecx
inc eax
dec ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0049dc70
mov esi, eax
cmp esi, 0xffffffff
jne 0x480113
xor esi, esi
mov eax, dword [esp + 0x48]
xor edi, edi
cmp esi, eax
jge 0x4801d1
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4801b7
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + esi*4]
push edx
call fcn.004d7300
mov ecx, dword [ebx + 0x50]
add esp, 4
mov ebp, eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
test eax, eax
jne 0x4801aa
mov eax, dword [ebx + 0x3c]
cmp eax, 6
jne 0x48015c
cmp ebp, 0x10000000
je 0x480176
cmp eax, 7
jne 0x480169
cmp ebp, 0x20000000
je 0x480176
cmp eax, 8
jne 0x4801aa
cmp ebp, 0x30000000
jne 0x4801aa
test edi, edi
je 0x48019d
mov ecx, dword [esp + 0x24]
add ecx, edi
cmp ecx, esi
jne 0x480187
inc edi
jmp 0x4801a6
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x50]
push edi
push edx
push eax
lea ecx, [esp + 0xe4]
call fcn.004cac80
mov dword [esp + 0x24], esi
mov edi, 1
dec dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x480121
test edi, edi
jle 0x4801d1
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x50]
push edi
push ecx
push edx
lea ecx, [esp + 0xe4]
call fcn.004cac80
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x4800d5
mov ebp, dword [esp + 0x108]
mov eax, dword [esp + 0xdc]
test eax, eax
mov edi, eax
jle 0x48022e
xor esi, esi
mov eax, esi
lea ecx, [esp + 0xd8]
push eax
inc esi
call fcn.004d7420
test eax, eax
je 0x480218
push eax
lea ecx, [ebp + 0x260]
call fcn.004d7720
jmp 0x4801f6
push edi
lea eax, [esp + 0xdc]
push 0
push eax
lea ecx, [ebp + 0x260]
call fcn.004cac80
mov edi, 0x55f894
mov dword [esp + 0xd8], edi
xor ebx, ebx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x100], 4
mov dword [esp + 0xdc], ebx
call fcn.00477ef0
mov esi, 0x55f890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x100], 2
mov dword [esp + 0xe0], esi
call fcn.00477ef0
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00477ef0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00526dd7
mov dword [esp + 0x50], edi
mov dword [esp + 0x100], 5
mov dword [esp + 0x54], ebx