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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4746d6
sub esp, 0x5c
mov edx, dword [esp + 0x64]
test edx, edx
sete bl
mov ebp, dword [esp + 0x60]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and ebx, edi
test bl, bl
je 0x47421a
movzx eax, byte [esp + 0x6c]
test al, al
je 0x474203
mov eax, 0x80000000
jmp 0x474205
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], 1
add esp, 0x5c
ret
mov ebx, dword [esp + 0x68]
lea edi, [ebx + 0x15c]
cmp edi, 0x2b7
ja 0x4746a2
nop
cmp edx, 1
sete al
seta cl
and eax, 1
or ecx, eax
test cl, cl
je 0x47424c
xor ecx, ecx
mov esi, 0x20
jmp 0x474252
mov ecx, edx
mov edx, ebp
xor esi, esi
mov dword [esp + 0x58], edi
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
sete al
cmp edx, 0x10000
xchg edi, ebx
setae bl
xchg edi, ebx
and edi, eax
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x474289
shr edx, 0x10
mov ebp, ecx
shl ebp, 0x10
or edx, ebp
shr ecx, 0x10
add esi, 0x10
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp edx, 0x100
setae al
and eax, edi
or eax, ebp
test al, al
je 0x4742ba
shr edx, 8
mov ebp, ecx
shl ebp, 0x18
or edx, ebp
shr ecx, 8
add esi, 8
test ecx, ecx
jne 0x4746c7
cmp edx, 0x100
jae 0x4746bb
imul eax, ebx, 0x3526a
sar eax, 0x10
add eax, 0x43f
mov dword [esp + 0x54], eax
sar eax, 0x1f
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x58]
shl ebp, 4
mov dword [esp + 0x58], ebp
lea edi, [0x58dea0]
mov ecx, dword [edi + ebp + 8]
mov dword [esp + 0x4c], ecx
mov ebp, dword [edi + ebp + 0xc]
mov dword [esp + 0x48], ebp
lea edi, [0x4ea472]
movzx edx, byte [edi + edx]
lea edx, [edx + esi - 0x40]
neg edx
mov dword [esp + 0x20], edx
mov ecx, edx
mov edi, dword [esp + 0x64]
shl edi, cl
mov eax, dword [esp + 0x60]
shl eax, cl
lea ebx, [ecx - 0x20]
mov ecx, ebx
mov esi, dword [esp + 0x60]
shl esi, cl
neg ecx
mov ebp, dword [esp + 0x60]
shr ebp, cl
sar edx, 0x1f
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
cmp edx, 0x20
sbb edx, edx
and eax, edx
mov dword [esp + 0x40], eax
and edi, edx
cmp ebx, 0x20
sbb edx, edx
and esi, edx
cmp ecx, 0x20
sbb edx, edx
and ebp, edx
or ebp, edi
or ebp, esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 4], ebp
mov dword [esp], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.0046e3d0
mov eax, dword [esp + 0x10]
mov edx, eax
and eax, 0x1ff
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
mov ecx, edx
mov edx, dword [esp + 0x20]
sub edi, edx
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
sbb edx, edi
mov dword [esp + 0x50], edx
cmp eax, 0x1ff
sete al
and eax, 1
test al, al
je 0x474509
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
mov edi, eax
add eax, ebp
mov edx, dword [esp + 0x3c]
adc edx, esi
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
seta dl
sete bl
cmp eax, edi
setb al
and eax, ebx
or eax, edx
test al, al
jne 0x474407
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
jmp 0x474509
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x58]
lea ecx, [0x58dea0]
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.0046e3d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
add eax, edx
mov ebx, dword [esp + 0x28]
adc ecx, ebx
cmp ebx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, edx
setb dl
and edx, ebp
or ebx, edx
test bl, bl
je 0x474479
mov edx, dword [esp + 0x4c]
add edx, 1
mov ebx, dword [esp + 0x30]
adc ebx, 0
jmp 0x474481
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov ebp, edx
and edx, 0x1ff
cmp edx, 0x1ff
sete dl
and edx, 1
test dl, dl
je 0x4744ff
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and edx, esi
test dl, dl
je 0x4744ff
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
add edx, edi
mov eax, dword [esp + 0x3c]
adc esi, eax
cmp eax, esi
seta al
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, edi
setb dl
and edx, esi
or edx, eax
test dl, dl
jne 0x4744e6
mov eax, dword [esp + 0x38]
jmp 0x4744ff
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
add esp, 0x5c
ret
mov edx, dword [esp + 0x50]
mov esi, ecx
mov ecx, ebp
mov ebp, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
mov eax, ebx
shr ebx, 0x1f
mov edi, ebx
xor ebx, 1
mov dword [esp + 0x4c], ebx
add edi, 9
mov edx, 0
adc edx, 0
cmp edx, 1
sbb edx, edx
xor edx, 0xffffffff
or edx, edi
mov edi, ecx
mov ecx, edx
shr eax, cl
shr edi, cl
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov esi, dword [esp + 0x30]
shr esi, cl
neg ecx
mov ebx, dword [esp + 0x30]
shl ebx, cl
cmp ebp, 0x20
sbb ebp, ebp
and esi, ebp
cmp ecx, 0x20
sbb ebp, ebp
and ebx, ebp
cmp edx, 0x20
sbb edx, edx
and edi, edx
or ebx, edi
or ebx, esi
and eax, edx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov esi, edx
sub edx, ebp
mov edi, dword [esp + 0x28]
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
mov ecx, edx
mov edx, dword [esp + 0x24]
test edx, edx
sete dl
and edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4745e7
mov edx, dword [esp + 0x2c]
test edx, 0x1ff
sete dl
and edx, 1
test dl, dl
je 0x4745e1
mov edx, ebx
and ebx, 3
cmp ebx, 1
sete bl
and ebx, 1
test bl, bl
jne 0x4745c8
sub esi, ebp
jmp 0x4745eb
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
add esp, 0x5c
ret
sub esi, ebp
mov edx, ebx
jmp 0x4745eb
sub esi, ebp
mov edx, ebx
mov ebx, dword [esp + 0x50]
sbb ebx, 0
mov ebp, edx
and edx, 1
add edx, ebp
adc eax, 0
mov ebp, edx
shr edx, 1
mov esi, eax
shl eax, 0x1f
mov edi, esi
shr esi, 0x16
or eax, edx
mov edx, edi
shr edi, 1
test esi, esi
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x474637
shr ebp, 2
mov eax, edx
shl eax, 0x1e
or eax, ebp
shr edx, 2
add ecx, 1
adc ebx, 0
jmp 0x474639
mov edx, edi
mov ebp, ecx
add ecx, 0xffffffff
adc ebx, 0xffffffff
test ebx, ebx
seta bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, 0x7fe
setae cl
and ecx, esi
or ecx, ebx
test cl, cl
jne 0x474689
shl ebp, 0x14
and edx, 0xfffff
or ebp, edx
movzx ecx, byte [esp + 0x6c]
test cl, cl
je 0x474678
or ebp, 0x80000000
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
mov byte [esp + 0x78], 1
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
add esp, 0x5c
ret
mov eax, edx
mov ecx, 0x100
call fcn.004667a0
mov esi, ecx
mov eax, edx
mov ecx, 0x100
call fcn.00466860
nop
call fcn.00465370
jmp fcn.004741c0