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

Disassembly:
mov ecx, dword [0x62920c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x47e6b8
sub esp, 0xd8
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.00469a79
lea ecx, [0x4f8d80]
mov dword [esp], ecx
call fcn.0040bde0
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00469a87
mov ecx, dword [esp + 0xe0]
test ecx, ecx
jne 0x47e102
xor ecx, ecx
jmp 0x47e16a
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047d660
mov eax, dword [esp + 8]
test eax, eax
je 0x47e161
movzx ebp, byte [esp + 0xc]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47e144
mov ebp, dword [esp + 0x84]
mov eax, dword [ebp]
test eax, 0x1f
jne 0x47e604
xor eax, eax
jmp 0x47e645
mov ebp, dword [esp + 0x84]
mov eax, dword [ebp]
nop
test eax, 0x1f
jne 0x47e56c
xor eax, eax
jmp 0x47e591
mov eax, 4
mov ecx, eax
xor eax, eax
mov ebp, dword [esp + 0xdc]
movzx edx, byte [ebp + 0xc]
test dl, 1
je 0x47e181
mov edx, 0x34
jmp 0x47e186
mov edx, 0x24
movzx ebx, word [ebp + 0x20]
test bx, bx
jne 0x47e195
xor ebx, ebx
xor edx, edx
jmp 0x47e1a6
movzx ebx, bx
add edx, ebp
cmp ebx, 0x10000
ja 0x47e560
mov dword [esp + 0x28], ebx
mov dword [esp + 0x7c], edx
xor esi, esi
jmp 0x47e1cc
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + 1]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xdc]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x40], ecx
cmp ebx, esi
jle 0x47e2c6
mov dword [esp + 0x3c], esi
mov eax, dword [edx + esi*4]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0047d440
mov eax, dword [esp + 8]
test eax, eax
jne 0x47e29c
mov ebp, dword [esp + 0x80]
movzx eax, byte [ebp + 0xd]
mov ecx, ebp
mov ebp, dword [esp + 0x40]
lea ebp, [ebp + eax - 1]
neg eax
and eax, ebp
mov ebp, dword [esp + 0xa0]
nop
add eax, dword [ecx]
nop
mov ecx, ebp
mov ebp, dword [esp + 0x3c]
cmp ebp, ecx
jae 0x47e559
mov edx, dword [esp + 0x9c]
lea ebx, [ecx - 1]
mov esi, dword [edx + ebp*4]
cmp ebp, ebx
jne 0x47e251
mov ecx, dword [esp + 0x94]
jmp 0x47e260
lea ebx, [ebp + 1]
cmp ecx, ebx
jbe 0x47e552
mov ecx, dword [edx + ebp*4 + 4]
mov edx, dword [esp + 0x98]
cmp ecx, edx
ja 0x47e54d
cmp ecx, esi
jb 0x47e546
mov ebx, dword [esp + 0x90]
sub edx, esi
lea edi, [esi + esi*2]
neg edx
shl edi, 3
sar edx, 0x1f
and edx, edi
add edx, ebx
sub ecx, esi
mov dword [esp + 0x24], ecx
xor ebx, ebx
jmp 0x47e522
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.0047f770
mov eax, dword [esp + 0x40]
jmp 0x47e1b2
mov edx, dword [esp + 0xa8]
lea ebx, [edx + 3]
and ebx, 0xfffffffc
nop
nop
lea edi, [esp + 0xb4]
call fcn.00469a87
mov dword [esp + 0xcc], ebx
movzx ecx, word [ebp + 0x22]
and ecx, 0x7fff
nop
test cx, cx
jne 0x47e2fe
xor edi, edi
xor ecx, ecx
jmp 0x47e349
movzx esi, byte [ebp + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x47e310
mov esi, 0x34
jmp 0x47e315
mov esi, 0x24
movzx edi, word [ebp + 0x20]
add ecx, edi
movzx ecx, cx
add ebp, esi
cmp ecx, 0x20000
ja 0x47e50e
movzx esi, di
cmp esi, ecx
ja 0x47e507
sub ecx, esi
mov edi, ecx
neg ecx
shl esi, 2
sar ecx, 0x1f
and esi, ecx
lea ecx, [ebp + esi]
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], ecx
xor ebp, ebp
jmp 0x47e376
mov eax, dword [esp + 0x38]
lea ebp, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp ebp, edi
jge 0x47e446
mov dword [esp + 0x38], ebp
mov eax, dword [ecx + ebp*4]
mov dword [esp + 0x88], eax
lea edx, [esp + 0xb4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0047d440
mov eax, dword [esp + 8]
test eax, eax
jne 0x47e420
mov ecx, dword [esp + 0xc4]
nop
mov eax, dword [esp + 0x38]
cmp eax, ecx
jae 0x47e502
mov ebx, dword [esp + 0xc0]
lea ebp, [ecx - 1]
mov edx, dword [ebx + eax*4]
cmp eax, ebp
jne 0x47e3d5
mov ebx, dword [esp + 0xb8]
jmp 0x47e3e4
lea ebp, [eax + 1]
cmp ecx, ebp
jbe 0x47e4fb
mov ebx, dword [ebx + eax*4 + 4]
mov ebp, dword [esp + 0xbc]
cmp ebx, ebp
ja 0x47e4f2
cmp ebx, edx
jb 0x47e4e9
mov ecx, dword [esp + 0xb4]
sub ebp, edx
lea esi, [edx + edx*2]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl esi, 3
sar ebp, 0x1f
and ebp, esi
add ecx, ebp
sub ebx, edx
xor edx, edx
jmp 0x47e4be
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.0047f770
jmp 0x47e35d
sub dword [esp + 0xcc], ebx
lea edi, [esp + 0xe4]
call fcn.00469a79
lea edi, [esp + 0xe4]
lea esi, [esp + 0x90]
call fcn.00469f46
lea edi, [esp + 0x108]
lea esi, [esp + 0xb4]
call fcn.00469f46
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], ebx
mov ecx, dword [esp + 0x40]
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x138], ecx
add esp, 0xd8
ret
mov ebp, dword [esp + 0x8c]
lea ecx, [ebp + 0x18]
inc edx
cmp edx, ebx
jge 0x47e35d
mov dword [esp + 0x8c], ecx
lea edi, [esp + 0x48]
mov esi, ecx
call fcn.00469f64
cmp dword [esp + 0x48], 3
jne 0x47e4b3
nop
xor eax, eax
mov ecx, eax
call fcn.00469920
mov eax, edx
mov ecx, ebx
call fcn.00469980
mov ecx, ebx
mov edx, ebp
call fcn.00469960
mov eax, ebp
call fcn.00469920
call fcn.00469920
mov eax, esi
call fcn.004699d0
mov edx, ecx
mov ebx, 0x20000
call fcn.004699a0
add edx, 0x18
inc ebx
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jge 0x47e1b2
lea edi, [esp + 0x60]
mov esi, edx
call fcn.00469f64
cmp dword [esp + 0x60], 3
jne 0x47e51a
nop
xor eax, eax
mov ecx, eax
call fcn.00469920
mov eax, esi
call fcn.00469980
call fcn.00469960
mov eax, ebx
call fcn.00469920
mov eax, ebp
call fcn.00469920
mov edx, ebx
mov ebx, 0x10000
call fcn.004699a0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp]
shr eax, 3
cmp ecx, eax
jbe 0x47e583
inc dword [ebp]
xor eax, eax
jmp 0x47e166
call fcn.00469930
mov dword [ebp + 8], edx
mov byte [edx + ebx - 1], 0
inc eax
cmp eax, 4
jge 0x47e56c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
inc edx
mov ebx, dword [ebp + 4]
cmp ecx, edx
jae 0x47e588
mov dword [esp + 0x30], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4f2420]
mov dword [esp + 0x10], eax
call fcn.0044e2a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0xc], eax
mov eax, dword [0x629370]
test eax, eax
je 0x47e5f7
call fcn.004698d0
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x30]
mov ebp, ebx
mov ebx, ecx
jmp 0x47e588
mov ecx, dword [ebp + 8]
mov eax, dword [ebp]
mov edx, eax
shr edx, 3
cmp ecx, edx
jbe 0x47e635
mov ecx, dword [ebp + 4]
movzx ebx, byte [ecx + edx]
and eax, 7
mov esi, ecx
mov ecx, eax
mov edi, 1
shl edi, cl
or ebx, edi
mov byte [esi + edx], bl
inc dword [ebp]
jmp 0x47e57c
mov eax, edx
call fcn.00469930
mov dword [ebp + 8], edx
mov byte [edx + ebx - 1], 0
inc eax
cmp eax, 4
jge 0x47e604
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
inc edx
mov ebx, dword [ebp + 4]
cmp ecx, edx
jae 0x47e63c
mov dword [esp + 0x34], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4f2420]
mov dword [esp + 0x10], eax
call fcn.0044e2a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0xc], eax
mov eax, dword [0x629370]
test eax, eax
je 0x47e6ab
call fcn.004698d0
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x34]
mov ebp, ebx
mov ebx, ecx
jmp 0x47e63c
call fcn.00468500
jmp fcn.0047e0a0