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

Disassembly:
push 0xffffffffffffffff
push 0x554e95
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 0x4803c3
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 0x47f386
mov esi, eax
mov ecx, esi
call fcn.00453e30
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.00478cc0
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 0x47f39b
mov eax, ecx
mov ebp, dword [esp + 0x108]
mov ecx, ebp
mov dword [ebp + 0x17c], eax
call fcn.00452cf0
test eax, eax
je 0x4803c3
mov eax, dword [ebx + 0xc8]
test eax, eax
jne 0x47f3cb
mov dword [esp + 0x34], 0
jmp 0x47f3d5
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.00477df0
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.00526ec4
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
call fcn.00477df0
mov edi, 0x55f9d0
mov dword [esp + 0x74], edi
mov eax, dword [ebx + 0x3c]
mov byte [esp + 0x100], 2
cmp eax, 6
je 0x480174
cmp eax, 7
je 0x480174
cmp eax, 8
je 0x480174
cmp eax, 1
je 0x47f975
test esi, esi
mov dword [esp + 0x10], 0
jle 0x47f71f
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 0x47f780
dec eax
je 0x47f65e
dec eax
jne 0x47f704
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.004d7ca0
test eax, eax
je 0x47f704
mov edx, dword [esp + 0x24]
test byte [edx + 8], 4
jne 0x47f4a1
mov ecx, dword [edx + 0x14]
lea eax, [ecx + esi + 7]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47f641
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 0x47f4f8
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x47f641
cmp eax, 6
jge 0x47f604
push 0x44
call fcn.00528f1b
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47f581
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.0040d7d0
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 0x47f583
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.00528158
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00528158
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.00528158
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
call fcn.00528158
mov edx, dword [esp + 0xa4]
push esi
push edx
lea ecx, [esp + 0xa4]
call fcn.005270a3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x48]
push eax
call fcn.004d7ce0
push eax
lea ecx, [esp + 0x78]
call fcn.004780b0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, 7
jge 0x47f60e
mov eax, 7
cmp ebx, 7
jl 0x47f641
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x47f62d
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47f63c
sub ebx, eax
add eax, 0xfffffff9
inc ebx
add edx, 0x10
push ebx
push eax
push edx
add ecx, 0x10
call fcn.004cad90
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47f71f
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x47f4a1
cmp ebp, 1
jge 0x47f668
mov ebp, 1
cmp ecx, ebp
jl 0x47f704
mov ecx, dword [ebx + 0x44]
lea edx, [ebp - 1]
push edx
call fcn.004d7360
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x47f704
mov eax, dword [esp + 0x20]
xor edi, edi
sub eax, ebp
inc eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x47f704
mov ebp, dword [esp + 0x40]
mov ecx, dword [ebx + 0x44]
lea eax, [esp + 0x18]
push eax
call fcn.004d73b0
test eax, eax
je 0x47f6eb
test edi, edi
je 0x47f6cc
mov eax, dword [esp + 0x18]
lea ecx, [edi + ebp]
cmp eax, ecx
jne 0x47f6bd
inc edi
jmp 0x47f6d5
mov edx, dword [ebx + 0x44]
push edi
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.004cad90
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 0x47f69a
test edi, edi
mov dword [esp + 0x40], ebp
jle 0x47f704
mov ecx, dword [ebx + 0x44]
mov eax, ebp
push edi
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004cad90
cmp dword [esp + 0x20], esi
jl 0x47f71f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47f46c
mov ebx, dword [esp + 0x108]
lea edx, [esp + 0x50]
push 0
push edx
mov ecx, ebx
call fcn.00455610
mov eax, dword [esp + 0xa4]
xor esi, esi
lea edi, [eax - 1]
test edi, edi
jl 0x47f927
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x3c]
sub eax, 2
je 0x47f904
sub eax, 2
jne 0x47f91e
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.00455880
jmp 0x47f91e
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.004d7ca0
test eax, eax
je 0x47f704
mov edx, dword [esp + 0x30]
test byte [edx + 8], 2
jne 0x47f782
mov ecx, dword [edx + 0x10]
lea eax, [ecx + esi + 3]
cmp ebp, eax
mov dword [esp + 0x38], eax
jge 0x47f8e7
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 0x47f7d9
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp ebx, eax
jl 0x47f8e7
cmp eax, 2
jge 0x47f8aa
push 0x30
call fcn.00528f1b
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
je 0x47f845
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.00477df0
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 0x47f847
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.00528158
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.00528158
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.005270a3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
dec eax
mov ecx, dword [ecx + 0x40]
push eax
call fcn.004d7ce0
push eax
lea ecx, [esp + 0x78]
call fcn.004780b0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, 3
jge 0x47f8b4
mov eax, 3
cmp ebx, 3
jl 0x47f8e7
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47f8d3
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
lea ecx, [esp + 0x5c]
jmp 0x47f8e2
sub ebx, eax
add eax, 0xfffffffd
inc ebx
add edx, 0xc
push ebx
push eax
push edx
add ecx, 0xc
call fcn.004cad90
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
cmp eax, esi
jl 0x47f71f
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x47f782
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.004557d0
inc esi
cmp esi, edi
jle 0x47f74c
mov esi, 0x55f890
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00477ff0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 0
call fcn.00526ef7
mov dword [esp + 0x50], 0x55f894
mov dword [esp + 0x100], 0xc
mov dword [esp + 0x54], 0
jmp 0x4803a2
lea ecx, [esp + 0x88]
call fcn.00526ec4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 0xd
call fcn.00526ec4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x100], 0xe
call fcn.00477df0
mov dword [esp + 0xc4], edi
xor edi, edi
push 0x14
push edi
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0xf
call fcn.00526f24
push 0x14
push edi
lea ecx, [esp + 0xb8]
call fcn.00526f24
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 0x47f9f2
mov dword [esp + 0x70], edi
jmp 0x47f9f9
mov eax, dword [eax + 0x34]
mov dword [esp + 0x70], eax
cmp esi, edi
mov dword [esp + 0x3c], edi
jle 0x480076
jmp 0x47fa0b
mov edi, dword [ebx + 0x5c]
lea ecx, [esp + 0xe0]
call fcn.00477df0
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.004d7560
test esi, esi
mov dword [esp + 0x48], eax
jle 0x4802d7
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 0x4801e2
mov ecx, 1
cmp eax, ecx
jl 0x4802c1
sub eax, ecx
inc eax
dec ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0049dd60
mov esi, eax
cmp esi, 0xffffffff
jne 0x480203
xor esi, esi
mov eax, dword [esp + 0x48]
xor edi, edi
cmp esi, eax
jge 0x4802c1
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4802a7
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + esi*4]
push edx
call fcn.004d7410
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 0x48029a
mov eax, dword [ebx + 0x3c]
cmp eax, 6
jne 0x48024c
cmp ebp, 0x10000000
je 0x480266
cmp eax, 7
jne 0x480259
cmp ebp, 0x20000000
je 0x480266
cmp eax, 8
jne 0x48029a
cmp ebp, 0x30000000
jne 0x48029a
test edi, edi
je 0x48028d
mov ecx, dword [esp + 0x24]
add ecx, edi
cmp ecx, esi
jne 0x480277
inc edi
jmp 0x480296
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x50]
push edi
push edx
push eax
lea ecx, [esp + 0xe4]
call fcn.004cad90
mov dword [esp + 0x24], esi
mov edi, 1
dec dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x480211
test edi, edi
jle 0x4802c1
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x50]
push edi
push ecx
push edx
lea ecx, [esp + 0xe4]
call fcn.004cad90
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x4801c5
mov ebp, dword [esp + 0x108]
mov eax, dword [esp + 0xdc]
test eax, eax
mov edi, eax
jle 0x48031e
xor esi, esi
mov eax, esi
lea ecx, [esp + 0xd8]
push eax
inc esi
call fcn.004d7530
test eax, eax
je 0x480308
push eax
lea ecx, [ebp + 0x260]
call fcn.004d7830
jmp 0x4802e6
push edi
lea eax, [esp + 0xdc]
push 0
push eax
lea ecx, [ebp + 0x260]
call fcn.004cad90
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.00477ff0
mov esi, 0x55f890
lea ecx, [esp + 0xe0]
mov byte [esp + 0x100], 2
mov dword [esp + 0xe0], esi
call fcn.00477ff0
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 1
mov dword [esp + 0x74], esi
call fcn.00477ff0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00526ef7
mov dword [esp + 0x50], edi
mov dword [esp + 0x100], 5
mov dword [esp + 0x54], ebx