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

Disassembly:
sub esp, 0x34
movsd xmm0, qword [esp + 0x40]
mov edx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
movsd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
mov eax, edi
or eax, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], edi
jne 0x4595fc
xor ecx, ecx
mov eax, ebp
test edx, edx
setne cl
sub eax, esi
add ecx, 5
add ecx, edx
cmp eax, ecx
jge 0x4595ce
pop edi
pop esi
mov eax, ebp
mov edx, 0x84
pop ebp
add esp, 0x34
ret
mov byte [esi], 0x30
inc esi
test edx, edx
je 0x4595ea
push edx
mov byte [esi], 0x2e
inc esi
push 0x30
push esi
call fcn.0059c4a0
add esp, 0xc
add esi, dword [esp + 0xc]
pop edi
mov dword [esi], 0x30302b65
lea eax, [esi + 4]
pop esi
xor edx, edx
pop ebp
add esp, 0x34
ret
push ebx
mov ebx, ecx
inc edx
and ebx, 0xfffff
shr ecx, 0x14
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], edx
test ecx, ecx
jne 0x45962f
mov eax, 0xfffffbce
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x50], ecx
jmp 0x459870
or ebx, 0x100000
mov dword [esp + 0x48], edi
mov ebp, edi
lea eax, [ecx - 0x433]
mov dword [esp + 0x24], ebx
xor ecx, ecx
mov dword [esp + 0x18], ebp
xor ebx, ebx
mov ebp, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffcc
jl 0x45981b
test eax, eax
jns 0x45968e
mov edx, 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x78]
mov dword [esp + 0x28], edx
jmp 0x4596e2
lea ecx, [eax + 0xf]
shr ecx, 4
mov eax, ecx
mov dword [esp + 0x34], ecx
imul ecx, ecx, 0x134410
shl eax, 4
add eax, 0x78
mov dword [esp + 0x38], eax
mov eax, 0x38e38e39
shr ecx, 0x12
add ecx, 0x19
mul ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
shr edx, 1
sub edx, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
js 0x459815
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
sub eax, ecx
mov edi, dword [esp + 0x24]
add eax, 8
mov dword [esp + 0x38], eax
mov eax, ebx
mov dword [esp + 0x48], edi
shld dword [esp + 0x48], eax, 8
mov dword [esp + 0x1c], ecx
shl eax, 8
mov dword [esp + 0x30], eax
lea eax, [edx + edx*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edi
nop dword [eax]
mov eax, dword [esp + 0x34]
push dword [esp + 0x38]
movzx eax, word [eax*2 + 0x5d4e30]
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x62c620]
push eax
push dword [esp + 0x50]
push dword [esp + 0x3c]
call fcn.0045a390
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov ebx, eax
test ecx, ecx
je 0x459786
mov edx, dword [esp + 0x10]
lea edi, [ecx + 9]
cmp edi, edx
ja 0x45980a
mov ecx, ebp
sub ecx, esi
cmp ecx, 9
jl 0x459b94
push esi
push ebx
call fcn.00453e60
add esp, 8
add esi, 9
mov ecx, edi
xor edi, edi
jmp 0x4597e6
xor edi, edi
test ebx, ebx
je 0x4597ea
push ebx
call fcn.00459c20
mov edx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 4
dec eax
add eax, edi
mov dword [esp + 0x50], eax
cmp edi, edx
ja 0x4598cb
cmp dword [esp + 0x2c], 0
jbe 0x4597d3
mov ecx, ebp
lea eax, [edi + 1]
sub ecx, esi
cmp ecx, eax
jl 0x459b94
push esi
push ebx
push edi
call fcn.004581c0
add esp, 0xc
add esi, edi
jmp 0x4597e1
cmp esi, ebp
je 0x459b94
mov al, bl
add al, 0x30
mov byte [esi], al
mov ecx, edi
xor edi, edi
inc esi
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x28]
sub dword [esp + 0x24], 9
dec edx
mov dword [esp + 0x28], edx
test edx, edx
jns 0x459720
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
jmp 0x45981d
mov eax, dword [esp + 0x50]
mov edi, 9
jmp 0x45981d
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov eax, ecx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x34], edi
jge 0x4599c8
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
test edi, edi
jne 0x4599c8
mov eax, dword [esp + 0x1c]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
neg eax
mov dword [esp + 0x34], eax
movzx edx, byte [eax + 0x5d4f40]
mov dword [esp + 0x48], edx
cmp edx, 0xc8
jae 0x4599c8
mov ebx, edx
lea eax, [ebx + ebx*8]
mov dword [esp + 0x28], eax
nop
mov edx, dword [esp + 0x34]
movzx eax, byte [edx + 0x5d4f40]
movzx edx, word [edx*2 + 0x5d4eb0]
sub edx, eax
add edx, ebx
mov ebx, dword [esp + 0x34]
movzx eax, word [ebx*2 + 0x5d4eb2]
cmp edx, eax
jb 0x4598d4
xor ebx, ebx
jmp 0x45990d
mov ecx, dword [esp + 0x14]
jmp 0x45981d
mov ecx, dword [esp + 0x18]
mov eax, 8
sub eax, ebx
shl eax, 4
sub eax, dword [esp + 0x1c]
push eax
lea eax, [edx + edx*2]
lea eax, [eax*8 + 0x6338e0]
push eax
mov eax, dword [esp + 0x28]
shld eax, ecx, 8
shl ecx, 8
push eax
push ecx
call fcn.0045a390
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov ebx, eax
test ecx, ecx
je 0x459944
mov eax, dword [esp + 0x10]
add ecx, 9
mov dword [esp + 0x38], ecx
cmp ecx, eax
ja 0x4599c1
mov eax, ebp
sub eax, esi
cmp eax, 9
jl 0x459b94
push esi
push ebx
call fcn.00453e60
mov ecx, dword [esp + 0x40]
add esp, 8
add esi, 9
jmp 0x45999e
test ebx, ebx
je 0x4599a2
push ebx
call fcn.00459c20
mov edi, eax
add esp, 4
sub eax, dword [esp + 0x28]
sub eax, 0xa
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
cmp edi, eax
ja 0x4599cc
cmp dword [esp + 0x2c], 0
jbe 0x45998b
mov ecx, ebp
lea eax, [edi + 1]
sub ecx, esi
cmp ecx, eax
jl 0x459b94
push esi
push ebx
push edi
call fcn.004581c0
add esp, 0xc
add esi, edi
jmp 0x459999
cmp esi, ebp
je 0x459b94
mov al, bl
add al, 0x30
mov byte [esi], al
mov ecx, edi
xor edi, edi
inc esi
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x28]
inc dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x28], eax
cmp eax, 0x708
jge 0x4599c8
mov ebx, dword [esp + 0x48]
jmp 0x4598a0
mov edi, 9
jmp 0x4599cc
mov eax, dword [esp + 0x10]
mov ecx, eax
xor edx, edx
sub ecx, dword [esp + 0x14]
test edi, edi
mov dword [esp + 0x48], ecx
cmovne edx, ebx
xor eax, eax
mov ebx, edx
cmp edi, ecx
jbe 0x459ab0
sub edi, ecx
je 0x459ab0
mov eax, 0xcccccccd
mov ebp, ebx
mul ebx
shr edx, 3
mov ebx, edx
lea eax, [edx + edx*4]
add eax, eax
sub ebp, eax
mov dword [esp + 0x38], ebp
sub edi, 1
jne 0x4599f1
cmp ebp, 5
mov ebp, dword [esp + 0x4c]
jne 0x459aac
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea edx, [eax + ecx]
neg edx
test edx, edx
jle 0x459a75
cmp edx, 0x3c
jge 0x459a6d
xor ecx, ecx
xor eax, eax
bts ecx, edx
cmp edx, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edx, 0x40
mov edx, dword [esp + 0x20]
cmovae eax, ecx
add ecx, 0xffffffff
adc eax, 0xffffffff
and ecx, edi
and eax, edx
or ecx, eax
mov eax, dword [esp + 0x10]
je 0x459a79
xor cl, cl
jmp 0x459a7b
mov edx, dword [esp + 0x20]
xor cl, cl
jmp 0x459a7b
mov edx, dword [esp + 0x20]
mov cl, 1
test eax, eax
jns 0x459aa2
test cl, cl
je 0x459aa0
neg eax
push eax
push edx
push edi
call fcn.0045a6e0
add esp, 0xc
test al, al
je 0x459aa0
mov cl, 1
movzx edi, cl
mov ecx, dword [esp + 0x48]
inc edi
jmp 0x459abb
xor cl, cl
movzx edi, cl
mov ecx, dword [esp + 0x48]
inc edi
jmp 0x459abb
mov eax, dword [esp + 0x38]
mov edx, 5
cmp edx, eax
sbb edi, edi
neg edi
cmp dword [esp + 0x14], 0
je 0x459af5
mov eax, ebp
sub eax, esi
cmp eax, ecx
jl 0x459b94
test ebx, ebx
jne 0x459ae4
push ecx
push 0x30
push esi
call fcn.0059c4a0
add esp, 0xc
add esi, dword [esp + 0x48]
jmp 0x459b2d
push esi
push ebx
push ecx
call fcn.00453d20
add esp, 0xc
add esi, dword [esp + 0x48]
jmp 0x459b2d
cmp dword [esp + 0x2c], 0
jbe 0x459b23
mov edx, dword [esp + 0x48]
mov ecx, ebp
sub ecx, esi
lea eax, [edx + 1]
cmp ecx, eax
jl 0x459b94
push esi
push ebx
push edx
call fcn.004581c0
mov eax, dword [esp + 0x54]
add esp, 0xc
inc eax
add esi, eax
jmp 0x459b2d
cmp esi, ebp
je 0x459b94
add bl, 0x30
mov byte [esi], bl
inc esi
test edi, edi
je 0x459b76
mov edx, dword [esp + 0x40]
mov eax, esi
cmp esi, edx
je 0x459b5a
nop dword [eax + eax]
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x2e
je 0x459b56
cmp cl, 0x39
jne 0x459b68
mov byte [eax], 0x30
mov edi, 1
cmp eax, edx
jne 0x459b40
mov byte [eax], 0x31
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
jmp 0x459b7a
cmp edi, 1
je 0x459b72
test cl, 1
je 0x459b76
inc cl
mov byte [eax], cl
mov eax, dword [esp + 0x50]
cdq
mov ecx, ebp
mov ebx, eax
xor ebx, edx
sub ebx, edx
xor edx, edx
cmp ebx, 0x64
setge dl
sub ecx, esi
add edx, 4
cmp ecx, edx
jge 0x459ba3
pop ebx
pop edi
pop esi
mov eax, ebp
mov edx, 0x84
pop ebp
add esp, 0x34
ret
cmp dword [esp + 0x50], 0
mov byte [esi], 0x65
setl al
lea eax, [eax*2 + 0x2b]
mov byte [esi + 1], al
cmp ebx, 0x64
jl 0x459bfa
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ax, word [ecx*2 + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esi + 2], ax
mov al, cl
shl cl, 2
add al, cl
add al, al
sub bl, al
add bl, 0x30
mov byte [esi + 4], bl
add esi, 5
pop ebx
pop edi
mov eax, esi
xor edx, edx
pop esi
pop ebp
add esp, 0x34
ret
mov ax, word [ebx*2 + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esi + 2], ax
add esi, 4
pop ebx
pop edi
mov eax, esi
xor edx, edx
pop esi
pop ebp
add esp, 0x34
ret