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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47f5a5
sub esp, 0x70
mov edx, dword [esp + 0x78]
test edx, edx
je 0x47f4c7
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx - 2]
cmp ebp, 0x22
ja 0x47f2ec
mov eax, edx
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x47f28b
mov ebp, 0x20
mov dword [esp + 0x38], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ebx
cmp ebx, 0xa
jne 0x47f228
mov esi, 0x9999999a
mov edi, 0x19999999
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov ecx, ebp
mov esi, 1
shl esi, cl
cmp ecx, 0x20
sbb edi, edi
and edi, esi
mov esi, edi
add edi, 0xffffffff
mov dword [esp + 0x24], edi
add ecx, 0xffffffe0
mov ebp, ecx
neg ecx
mov edi, 1
shr edi, cl
cmp ecx, 0x20
sbb ebx, ebx
and edi, ebx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
cmp ecx, 0x20
sbb ebp, ebp
and ebp, ebx
or edi, ebp
add esi, 0xffffffff
adc edi, 0xffffffff
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
jmp 0x47ed83
mov esi, dword [esp + 0x30]
inc esi
mov edi, dword [esp + 0x24]
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jge 0x47f1f8
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + ebx]
lea ebx, [edx - 0x30]
cmp bl, 9
ja 0x47f0fa
cmp bl, cl
jae 0x47f01c
mov byte [esp + 0x1b], bl
mov edx, dword [esp + 0x20]
cmp edx, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, esi
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, edi
cmp edx, ebp
xchg edi, ebx
seta bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x47ef3e
mov eax, ecx
mov edi, edx
mul ebx
mov dword [esp + 0x1c], eax
movzx esi, byte [esp + 0x1b]
xchg esi, eax
movzx eax, al
xchg esi, eax
add eax, esi
sar ecx, 0x1f
imul ebx, ecx
mov ecx, dword [esp + 0x7c]
imul edi, ecx
add edx, edi
add edx, ebx
mov ebx, dword [esp + 0x1c]
add esi, ebx
mov esi, edx
adc edx, 0
cmp eax, ebx
setb bl
cmp edx, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
cmp edx, esi
setb bl
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x47ee60
mov ebx, dword [esp + 0x34]
cmp edx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [esp + 0x24]
cmp eax, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, edi
cmp edx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x47ed5c
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47ef23
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47ef0d
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f4264]
mov edx, dword [0x9f4260]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47eefb
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x47eecd
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x47eeae
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x47ee93
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47f001
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47efeb
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f4264]
mov edx, dword [0x9f4260]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47efd9
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x54]
jmp 0x47efab
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x54]
jmp 0x47ef8c
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x54]
jmp 0x47ef71
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47f0df
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47f0c9
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f426c]
mov edx, dword [0x9f4268]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47f0b7
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x58]
jmp 0x47f089
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x58]
jmp 0x47f06a
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x58]
jmp 0x47f04f
lea ebx, [edx - 0x61]
cmp bl, 0x19
ja 0x47f10a
lea ebx, [edx - 0x57]
jmp 0x47eda3
lea ebx, [edx - 0x41]
cmp bl, 0x19
ja 0x47f11a
lea ebx, [edx - 0x37]
jmp 0x47eda3
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47f1dd
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47f1c7
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f426c]
mov edx, dword [0x9f4268]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47f1b5
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x60]
jmp 0x47f187
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x60]
jmp 0x47f168
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x60]
jmp 0x47f14d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
cmp ebx, 0x10
jne 0x47f239
xor esi, esi
mov edi, 0x10000000
jmp 0x47ecce
mov dword [esp + 0x80], ebp
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], ebx
sar ebx, 0x1f
mov dword [esp + 0xc], ebx
call fcn.00448b10
mov eax, dword [esp + 0x10]
add eax, 1
mov edi, dword [esp + 0x14]
adc edi, 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov esi, eax
mov eax, dword [esp + 0x78]
jmp 0x47ecce
cmp ebp, 0x40
jbe 0x47ecaf
lea ecx, [0x7b6c20]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.0047eaf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
test ebx, ebx
jne 0x47f46f
mov ebx, dword [esp + 0x74]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jne 0x47f438
cmp edx, 1
jle 0x47f468
movzx esi, byte [ebx + 1]
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x47f428
cmp edx, 3
jl 0x47f34a
lea ebp, [edx - 2]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
mov eax, 0x10
mov ebx, eax
mov edx, esi
mov ecx, ebp
mov eax, dword [esp + 0x78]
jmp 0x47ec9b
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47f40d
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47f3f7
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f426c]
mov edx, dword [0x9f4268]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47f3e5
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x47f3b7
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x47f398
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x47f37d
xchg esi, eax
cmp al, 0x58
xchg esi, eax
je 0x47f31e
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jne 0x47f45a
lea esi, [edx - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
lea ebp, [ebx + esi]
mov eax, 8
mov esi, edi
jmp 0x47f33b
mov eax, 0xa
mov ebp, ebx
mov esi, edx
jmp 0x47f33b
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jmp 0x47f438
lea eax, [0x7b6c20]
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0047e980
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
lea eax, [0x76f760]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 9
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x47f58a
lea ecx, [0x7b6c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x47f574
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f426c]
mov edx, dword [0x9f4268]
mov dword [eax + 0x10], edx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x47f562
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x800cc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x68]
jmp 0x47f534
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x68]
jmp 0x47f515
mov dword [esp], eax
lea ecx, [0x7b6c20]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x68]
jmp 0x47f4fa
call fcn.0044be50
jmp fcn.0047ec60