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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1068]
cmp eax, 0xffffffff
jne 0x47ae10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0xc
cmp eax, 0xfffffffe
jne 0x47ae8c
mov al, byte [esi + 0x1064]
test al, al
jne 0x47ae4f
mov al, byte [esi + 0x1063]
lea ecx, [esi + 0x20]
neg al
sbb eax, eax
and eax, 0x8000
add eax, 0x8000
push eax
call fcn.004108a5
test al, al
jne 0x47ae4f
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0x28
ret 0xc
mov cl, byte [esi + 0x1066]
push ecx
mov ecx, esi
call fcn.0047ada0
test eax, eax
jne 0x47b6df
mov dl, byte [esi + 0x1064]
lea ecx, [esi + 0x20]
push edx
call fcn.00481110
mov byte [esi + 0x1060], 0
mov dword [esi + 0x1068], 0
mov byte [esi + 0x1067], 1
mov eax, dword [esi + 0x1068]
mov ebx, dword [esp + 0x3c]
test eax, eax
je 0x47aeea
test ebx, ebx
je 0x47aee6
mov edx, dword [esi + 0x106c]
dec eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1068], eax
mov edi, dword [ecx + 4]
mov eax, edi
sub eax, edx
dec eax
cmp edx, edi
jb 0x47aebd
add eax, dword [ecx + 0x10]
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov ebp, edi
inc edx
mov al, byte [edi + eax]
mov byte [edx + ebp - 1], al
mov eax, dword [ecx + 8]
cmp edx, eax
mov dword [ecx + 4], edx
jne 0x47aedb
call fcn.004109dd
mov eax, dword [esi + 0x1068]
dec ebx
test eax, eax
jne 0x47ae9a
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], 0
test eax, eax
mov dword [esp + 0x34], 0
je 0x47af38
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x58]
mov edx, 0x20
sub edx, ebp
sub eax, ecx
shr edx, 3
xor ecx, ecx
xor edi, edi
sub eax, edx
mov edx, dword [esi + 0x70]
sbb ecx, edi
add eax, edx
mov edx, dword [esi + 0x60]
adc ecx, edi
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x64]
adc ecx, eax
mov dword [esp + 0x34], ecx
test ebx, ebx
jne 0x47af48
mov al, byte [esp + 0x40]
test al, al
je 0x47b6b1
mov eax, dword [esi + 0x70]
cmp eax, 4
ja 0x47b6da
mov edx, dword [esi + 0x48]
mov ecx, 0x20
sub ecx, edx
lea edx, [eax*8]
cmp ecx, edx
jb 0x47b6da
mov al, byte [esi + 0x1067]
test al, al
je 0x47b01a
mov al, byte [esi + 0x1060]
test al, al
jne 0x47b6a7
mov edi, dword [esp + 0x44]
test edi, edi
je 0x47afdf
mov ebp, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x58]
mov edx, 0x20
sub edx, ebp
sub ecx, eax
shr edx, 3
xor eax, eax
xor ebp, ebp
sub ecx, edx
mov edx, dword [esi + 0x70]
sbb eax, ebp
add ecx, edx
mov edx, dword [esi + 0x64]
adc eax, ebp
mov ebp, dword [esi + 0x60]
add ecx, ebp
mov ebp, dword [esp + 0x30]
adc eax, edx
mov edx, dword [esp + 0x34]
sub ecx, ebp
sbb eax, edx
xor edx, edx
cmp eax, edx
ja 0x47b6ce
jb 0x47afdf
cmp ecx, edi
jae 0x47b6ce
mov ecx, esi
call fcn.0047a590
test al, al
je 0x47b6da
mov eax, dword [esi + 0x70]
cmp eax, 4
ja 0x47b6da
mov edx, dword [esi + 0x48]
mov ecx, 0x20
sub ecx, edx
lea edx, [eax*8]
cmp ecx, edx
jb 0x47b6da
mov byte [esi + 0x1067], 0
mov al, byte [esi + 0x1061]
test al, al
je 0x47b0fe
mov al, byte [esp + 0x40]
test al, al
je 0x47b042
test ebx, ebx
jne 0x47b042
mov eax, dword [esi + 0x1058]
test eax, eax
jne 0x47b6da
mov eax, dword [esi + 0x1058]
mov ebp, eax
cmp ebp, ebx
jbe 0x47b050
mov ebp, ebx
sub eax, ebp
sub ebx, ebp
test ebp, ebp
mov dword [esi + 0x1058], eax
mov dword [esp + 0x3c], ebx
je 0x47b0e8
cmp dword [esi + 0x48], 0x20
je 0x47b094
mov ecx, esi
call fcn.0047a420
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x20]
mov byte [edi + edx], al
inc edx
mov eax, dword [ecx + 8]
mov dword [ecx + 4], edx
cmp edx, eax
jne 0x47b08f
call fcn.004109dd
dec ebp
jne 0x47b066
jmp 0x47b0e8
test ebp, ebp
je 0x47b0e8
lea edi, [esi + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
sub eax, edx
add ecx, edx
cmp eax, ebp
jbe 0x47b0ad
mov eax, ebp
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.0040d3b2
mov ebx, eax
test ebx, ebx
je 0x47b6da
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
mov edx, ecx
sub edx, eax
cmp edx, ebx
jbe 0x47b0d6
add eax, ebx
mov dword [edi + 4], eax
jmp 0x47b0e0
mov dword [edi + 4], ecx
mov ecx, edi
call fcn.004109dd
sub ebp, ebx
jne 0x47b09b
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x1058]
test eax, eax
sete al
mov byte [esi + 0x1067], al
jmp 0x47af38
test ebx, ebx
je 0x47b589
mov eax, dword [esi + 0x70]
mov ebx, 8
cmp eax, 4
ja 0x47b6da
cmp dword [esi + 0x48], ebx
jb 0x47b17a
lea edi, [esi + 0x50]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x47b135
mov ecx, edi
call fcn.0040d396
mov byte [esp + 0x1c], al
jmp 0x47b13e
mov cl, byte [eax]
inc eax
mov byte [esp + 0x1c], cl
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x48]
and eax, 0xff
mov ecx, 0x20
sub ecx, edx
mov ebp, eax
shl ebp, cl
mov ecx, dword [esi + 0x78]
or ecx, ebp
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov cl, byte [eax + 0x4c89ec]
mov eax, dword [esi + 0x4c]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
cmp eax, ebx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
jae 0x47b11f
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov ecx, ebx
sub ecx, edi
shr eax, cl
mov ecx, dword [esi + 0x80]
shr eax, 9
and eax, 0x7fff
mov edi, eax
shr edi, 5
cmp edi, ecx
jb 0x47b1eb
mov edx, dword [esi + 0x84]
lea ecx, [esi + 0x84]
cmp eax, edx
mov edi, 0xb
jb 0x47b1c6
mov edx, dword [ecx + 4]
add ecx, 4
inc edi
cmp eax, edx
jae 0x47b1b2
cmp edi, 0xf
ja 0x47b6da
mov edx, dword [esi + edi*4 + 0x70]
mov ecx, 0xf
sub ecx, edi
shr eax, cl
mov ecx, dword [esi + 0x48]
sub eax, edx
xor edx, edx
add ecx, edi
mov dx, word [esi + eax*2 + 0x4b0]
mov dword [esi + 0x48], ecx
mov ecx, edi
jmp 0x47b201
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + esi + 0xb0]
mov dx, word [esi + edi*2 + 0x4b0]
add dword [esi + 0x48], ecx
mov eax, dword [esi + 0x78]
shr eax, cl
cmp edx, 0x100
mov dword [esi + 0x78], eax
jae 0x47b236
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x20]
mov byte [edi + eax], dl
inc eax
mov edx, dword [ecx + 8]
mov dword [ecx + 4], eax
cmp eax, edx
jne 0x47b22d
call fcn.004109dd
dec dword [esp + 0x3c]
jmp 0x47b55e
je 0x47b56c
mov al, byte [esi + 0x1063]
sub edx, 0x101
test al, al
je 0x47b262
xor ecx, ecx
xor eax, eax
mov cl, byte [edx + 0x4b9088]
mov al, byte [edx + 0x4b90c8]
mov dword [esp + 0x10], ecx
jmp 0x47b276
xor ecx, ecx
xor eax, eax
mov cl, byte [edx + 0x4b9068]
mov al, byte [edx + 0x4b90a8]
mov dword [esp + 0x10], ecx
mov edi, eax
mov eax, dword [esi + 0x48]
cmp eax, ebx
jb 0x47b2e4
lea ebp, [esi + 0x50]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
cmp eax, ecx
jb 0x47b299
mov ecx, ebp
call fcn.0040d396
mov byte [esp + 0x20], al
jmp 0x47b2a3
mov cl, byte [eax]
inc eax
mov byte [esp + 0x20], cl
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x48]
and eax, 0xff
mov ecx, 0x20
sub ecx, edx
mov ebx, eax
shl ebx, cl
mov ecx, dword [esi + 0x78]
or ecx, ebx
mov ebx, 8
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov cl, byte [eax + 0x4c89ec]
mov eax, dword [esi + 0x4c]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
cmp eax, ebx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
jae 0x47b282
mov edx, dword [esi + 0x78]
mov eax, 1
mov ecx, edi
mov ebp, dword [esi + 0x48]
shl eax, cl
add ebp, edi
mov dword [esi + 0x48], ebp
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x78], edx
lea edx, [ecx + eax + 3]
mov eax, ebp
mov dword [esp + 0x10], edx
cmp eax, ebx
jb 0x47b370
lea edi, [esi + 0x50]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x47b32b
mov ecx, edi
call fcn.0040d396
mov byte [esp + 0x24], al
jmp 0x47b334
mov cl, byte [eax]
inc eax
mov byte [esp + 0x24], cl
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x48]
and eax, 0xff
mov ecx, 0x20
sub ecx, edx
mov ebp, eax
shl ebp, cl
mov ecx, dword [esi + 0x78]
or ecx, ebp
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov cl, byte [eax + 0x4c89ec]
mov eax, dword [esi + 0x4c]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
cmp eax, ebx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
jae 0x47b315
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov ecx, ebx
sub ecx, edi
shr eax, cl
mov ecx, dword [esi + 0xedc]
shr eax, 9
and eax, 0x7fff
mov edx, eax
shr edx, 9
cmp edx, ecx
jb 0x47b3e5
mov edi, dword [esi + 0xee0]
lea ecx, [esi + 0xee0]
cmp eax, edi
mov edx, 7
jb 0x47b3bc
mov edi, dword [ecx + 4]
add ecx, 4
inc edx
cmp eax, edi
jae 0x47b3a8
cmp edx, 0xf
ja 0x47b6da
mov edi, dword [esi + edx*4 + 0xeec]
mov ecx, 0xf
sub ecx, edx
shr eax, cl
xor ecx, ecx
sub eax, edi
mov cl, byte [eax + esi + 0xf7c]
mov ebp, ecx
mov ecx, dword [esi + 0x48]
add ecx, edx
mov dword [esi + 0x48], ecx
mov ecx, edx
jmp 0x47b401
xor ecx, ecx
xor eax, eax
mov cl, byte [edx + esi + 0xf2c]
mov al, byte [edx + esi + 0xf7c]
mov edx, dword [esi + 0x48]
mov ebp, eax
add edx, ecx
mov dword [esi + 0x48], edx
mov eax, dword [esi + 0x78]
shr eax, cl
xor ecx, ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x48]
mov cl, byte [ebp + 0x4b9168]
cmp eax, ebx
mov edi, ecx
jb 0x47b478
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x50]
cmp eax, edx
jb 0x47b432
call fcn.0040d396
mov byte [esp + 0x28], al
jmp 0x47b43b
mov dl, byte [eax]
inc eax
mov byte [esp + 0x28], dl
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x48]
and eax, 0xff
mov ecx, 0x20
sub ecx, edx
mov ebx, eax
shl ebx, cl
mov ecx, dword [esi + 0x78]
or ecx, ebx
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov cl, byte [eax + 0x4c89ec]
mov eax, dword [esi + 0x4c]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
cmp eax, 8
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
jae 0x47b41a
mov edx, dword [esi + 0x78]
mov eax, 1
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x48]
add ecx, edi
mov dword [esi + 0x48], ecx
mov ecx, edi
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], edx
mov ebx, dword [ebp*4 + 0x4b90e8]
add ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x47b4b3
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x20]
mov edx, dword [esp + 0x18]
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x14], edx
dec ebp
cmp ebx, eax
jb 0x47b4e2
mov cl, byte [edi + 0x24]
test cl, cl
je 0x47b6da
mov ecx, dword [edi + 0x10]
cmp ebx, ecx
jae 0x47b6da
add ebp, ecx
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, edx
jbe 0x47b513
mov ecx, dword [edi + 0x10]
sub ecx, ebp
cmp ecx, edx
jbe 0x47b513
mov ecx, dword [edi]
add ebp, ecx
add ecx, eax
add eax, edx
mov dword [edi + 4], eax
mov edi, dword [esp + 0x14]
mov al, byte [ebp]
mov byte [ecx], al
inc ecx
inc ebp
dec edi
jne 0x47b503
mov dword [esp + 0x14], edi
jmp 0x47b548
cmp ebp, dword [edi + 0x10]
jne 0x47b51a
xor ebp, ebp
mov ecx, dword [edi]
mov eax, dword [edi + 4]
inc eax
mov dl, byte [ecx + ebp]
inc ebp
mov byte [ecx + eax - 1], dl
mov ecx, dword [edi + 8]
cmp eax, ecx
mov dword [edi + 4], eax
jne 0x47b539
mov ecx, edi
call fcn.004109dd
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x47b513
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
jne 0x47b575
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x47b106
jmp 0x47b585
mov byte [esi + 0x1067], 1
jmp 0x47b585
mov eax, dword [esp + 0x10]
mov dword [esi + 0x106c], ebx
mov dword [esi + 0x1068], eax
mov ebx, dword [esp + 0x3c]
mov al, byte [esp + 0x40]
test al, al
je 0x47af38
test ebx, ebx
jne 0x47af48
cmp dword [esi + 0x48], 8
jb 0x47b602
lea edi, [esi + 0x50]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x47b5bc
mov ecx, edi
call fcn.0040d396
mov byte [esp + 0x2c], al
jmp 0x47b5c5
mov cl, byte [eax]
inc eax
mov byte [esp + 0x2c], cl
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x48]
and eax, 0xff
mov ecx, 0x20
sub ecx, edx
mov ebp, eax
shl ebp, cl
mov ecx, dword [esi + 0x78]
or ecx, ebp
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov cl, byte [eax + 0x4c89ec]
mov eax, dword [esi + 0x4c]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
cmp eax, 8
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], eax
jae 0x47b5a6
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov ecx, 8
sub ecx, ebp
shr eax, cl
mov ecx, dword [esi + 0x80]
shr eax, 9
and eax, 0x7fff
mov edx, eax
shr edx, 5
cmp edx, ecx
jb 0x47b673
mov edi, dword [esi + 0x84]
lea ecx, [esi + 0x84]
cmp eax, edi
mov edx, 0xb
jb 0x47b651
mov edi, dword [ecx + 4]
add ecx, 4
inc edx
cmp eax, edi
jae 0x47b63d
cmp edx, 0xf
ja 0x47b6da
mov ecx, 0xf
xor edi, edi
sub ecx, edx
shr eax, cl
mov ecx, dword [esi + edx*4 + 0x70]
sub eax, ecx
add ebp, edx
mov ecx, edx
mov di, word [esi + eax*2 + 0x4b0]
mov dword [esi + 0x48], ebp
jmp 0x47b68b
xor ecx, ecx
xor edi, edi
mov cl, byte [edx + esi + 0xb0]
mov di, word [esi + edx*2 + 0x4b0]
add ebp, ecx
mov dword [esi + 0x48], ebp
mov eax, dword [esi + 0x78]
shr eax, cl
cmp edi, 0x100
mov dword [esi + 0x78], eax
jne 0x47b6da
mov byte [esi + 0x1067], 1
jmp 0x47af38
mov dword [esi + 0x1068], 0xffffffff
mov eax, dword [esi + 0x70]
cmp eax, 4
ja 0x47b6da
mov edi, dword [esi + 0x48]
mov edx, 0x20
lea ecx, [eax*8]
sub edx, edi
cmp edx, ecx
jb 0x47b6da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc