Function at 0x424530
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x26
mov dword [ebp - 0x5c4], ecx
cmp eax, edi
mov esi, edx
mov edx, dword [0x458d34]
cmovae edi, eax
mov dword [ebp - 0x5b8], esi
mov dword [ebp - 0x580], edi
lea ecx, [edi + 0xa]
call fcn.00412330
mov ecx, eax
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x57c], ecx
mov dword [ebp - 0x578], edx
mov dword [ecx + 4], eax
mov dword [ecx], edi
mov word [eax + edi], dx
test byte [0x457aa0], 1
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x590], ebx
jne 0x4246b2
mov eax, 0x457aa0
lock bts dword [eax], 0x1f
jae 0x4245cc
test byte [0x457aa0], 1
jne 0x4246b2
mov ecx, eax
call fcn.00429b00
jmp 0x4246b0
push 4
lea eax, [ebp - 0x10]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x424605
mov ax, word [ebp - 0x10]
test ax, ax
je 0x424605
movzx ecx, word [0x457aa8]
cmp word [ebp - 0xe], 0
movzx eax, ax
cmove ecx, eax
mov word [0x457aa8], cx
push 4
lea eax, [ebp - 0x10]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42463e
mov ax, word [ebp - 0x10]
test ax, ax
je 0x42463e
movzx ecx, word [0x457ae4]
cmp word [ebp - 0xe], 0
movzx eax, ax
cmove ecx, eax
mov word [0x457ae4], cx
cmp word [0x457aa8], 0x2e
je 0x42465c
push 0x452812
push 0
call fcn.00433367
add esp, 8
mov dword [0x458b00], eax
mov eax, 0x457aa0
lock bts dword [eax], 0
jb 0x4246b0
mov esi, dword [0x457aa4]
test esi, esi
je 0x42467b
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
mov ecx, 0x457aa0
lock xadd dword [ecx], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x4246aa
test esi, esi
je 0x4246aa
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x457aa4], 0
mov esi, dword [ebp - 0x5b8]
xor edx, edx
fld qword [0x453bc8]
fld qword [0x453bb8]
mov dword [ebp - 0x5cc], 3
mov eax, dword [ebp - 0x5c4]
dec esi
mov ecx, eax
mov dword [ebp - 0x5b8], esi
mov esi, eax
mov dword [ebp - 0x5bc], edx
add eax, 0x18
mov dword [ebp - 0x594], esi
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0x588], 0
mov eax, dword [esi]
mov dword [ebp - 0x5a0], eax
and eax, 0x3f
cmp eax, 0xc
ja case.default.0x42470c
jmp dword [eax*4 + 0x425a2c]
mov eax, dword [ebp - 0x580]
lea edi, [edx + 2]
fstp st(1)
fstp st(0)
cmp eax, edi
jae 0x424799
mov edx, dword [0x458d34]
add eax, eax
cmp eax, edi
mov ebx, edi
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov esi, eax
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov word [eax + ebx], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x424785
call fcn.00412410
mov eax, dword [esi + 4]
shr ebx, 1
mov dword [ebp - 0x57c], esi
mov esi, dword [ebp - 0x594]
lea ebx, [eax + ebx*2]
mov ax, word [esi + 0x10]
mov edx, edi
mov word [ebx], ax
add ebx, 2
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x578], edx
jmp 0x425872
mov eax, dword [esi + 0x10]
fstp st(1)
fstp st(0)
lea ecx, [eax + edx]
cmp edi, ecx
jae 0x424839
mov edx, dword [0x458d34]
lea eax, [edi + edi]
cmp eax, ecx
mov ebx, ecx
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov edi, dword [ebp - 0x57c]
mov esi, eax
lea eax, [esi + 8]
xor ecx, ecx
mov dword [esi], ebx
mov dword [esi + 4], eax
mov word [eax + ebx], cx
mov ebx, dword [ebp - 0x578]
push ebx
push dword [edi + 4]
push dword [esi + 4]
call fcn.0042ea70
add esp, 0xc
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x424820
call fcn.00412410
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [ebp - 0x57c], esi
mov esi, dword [ebp - 0x594]
shr ecx, 1
lea ebx, [eax + ecx*2]
mov eax, dword [esi + 0x10]
push eax
push dword [esi + 0x14]
push ebx
call fcn.0042ea70
mov eax, dword [esi + 0x10]
add esp, 0xc
mov edx, dword [ebp - 0x578]
shr eax, 1
add edx, dword [esi + 0x10]
mov dword [ebp - 0x578], edx
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x590], ebx
jmp 0x425872
mov ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
call fcn.00412950
mov ecx, dword [ebp - 0x578]
lea esi, [eax + eax]
add ecx, esi
mov dword [ebp - 0x584], ecx
cmp edi, ecx
jae 0x4248f9
mov edx, dword [0x458d34]
lea eax, [edi + edi]
cmp eax, ecx
mov ebx, ecx
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov edi, eax
xor ecx, ecx
lea eax, [edi + 8]
mov dword [edi + 4], eax
mov dword [edi], ebx
mov word [ebx + eax], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4248eb
call fcn.00412410
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [ebp - 0x57c], edi
lea ebx, [eax + ebx*2]
mov ecx, dword [ebp - 0x594]
push esi
push dword [ecx + 0x10]
push ebx
call fcn.0042ea70
mov edx, dword [ebp - 0x584]
add esp, 0xc
shr esi, 1
mov dword [ebp - 0x578], edx
lea ebx, [ebx + esi*2]
mov dword [ebp - 0x590], ebx
jmp 0x425872
cmp dword [ebp - 0x5a0], 3
fstp st(1)
fstp st(0)
jne 0x424943
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x598], ecx
jmp 0x42495a
mov ecx, dword [esi + 0x10]
mov esi, ecx
mov dword [ebp - 0x598], ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x424951
sub esi, edx
push esi
push ecx
lea eax, [ebp - 0x5c0]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x42540d
mov ecx, dword [ebp - 0x578]
mov eax, dword [ebp - 0x5c0]
add ecx, eax
cmp edi, ecx
jae 0x424a05
mov edx, dword [0x458d34]
lea eax, [edi + edi]
cmp eax, ecx
mov ebx, ecx
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov edi, eax
xor ecx, ecx
lea eax, [edi + 8]
mov dword [edi + 4], eax
mov dword [edi], ebx
mov word [ebx + eax], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4249e9
call fcn.00412410
mov eax, dword [edi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [ebp - 0x57c], edi
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0x590], ebx
push esi
push dword [ebp - 0x598]
push 0
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x42540d
mov eax, dword [ebp - 0x5c0]
mov edx, dword [ebp - 0x578]
shr eax, 1
add edx, dword [ebp - 0x5c0]
mov dword [ebp - 0x578], edx
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x590], ebx
jmp 0x425872
mov eax, dword [ecx + 0x10]
mov ecx, eax
shr ecx, 0x1f
mov dword [ebp - 0x588], ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
jmp 0x424a60
mov ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x58c], 0xa
test edx, 0x100
je 0x424a90
mov al, byte [esi + 0xa]
cmp al, 2
jb 0x424a90
cmp al, 0x45
ja 0x424a90
movzx eax, al
mov dword [ebp - 0x58c], eax
test edx, 0x20000000
lea edi, [ebp - 0x16]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmovne eax, esi
xor esi, esi
mov dword [ebp - 0x598], eax
test ecx, ecx
je 0x424b54
test edx, 0x10000
je 0x424b2a
xor eax, eax
mov dword [ebp - 0x5b0], eax
mov eax, ecx
xor edx, edx
div dword [ebp - 0x58c]
inc esi
mov ecx, eax
mov eax, dword [ebp - 0x598]
movsx ax, byte [eax + edx]
mov word [edi], ax
sub edi, 2
mov eax, dword [ebp - 0x5b0]
inc eax
mov dword [ebp - 0x5b0], eax
cmp eax, 3
jne 0x424b0f
test ecx, ecx
je 0x424b13
mov ax, word [0x457ae4]
inc esi
mov word [edi], ax
sub edi, 2
xor eax, eax
mov dword [ebp - 0x5b0], eax
test ecx, ecx
jne 0x424ac6
mov edx, dword [ebp - 0x5a0]
xor ecx, ecx
cmp dword [ebp - 0x588], ecx
je 0x424b65
mov ecx, 1
jmp 0x424b73
mov ebx, eax
lea esp, [esp]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x58c]
inc esi
mov ecx, eax
movsx ax, byte [ebx + edx]
mov word [edi], ax
sub edi, 2
test ecx, ecx
jne 0x424b30
mov ebx, dword [ebp - 0x590]
jmp 0x424b13
mov eax, 0x30
lea edi, [ebp - 0x18]
mov word [ebp - 0x16], ax
lea esi, [eax - 0x2f]
jmp 0x424b19
test edx, 0x20000
mov eax, 1
cmovne ecx, eax
and edx, 0x50000
cmp edx, 0x40000
jne 0x424ba7
mov eax, dword [ebp - 0x594]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x424ba7
or dword [ebp - 0x588], 4
mov eax, edx
sub eax, ecx
sub eax, esi
mov dword [ebp - 0x5d0], eax
add ecx, eax
lea eax, [ecx + esi]
add edi, 2
mov ecx, dword [ebp - 0x578]
mov dword [ebp - 0x584], edi
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x598], ecx
cmp eax, ecx
jae 0x424c4a
add eax, eax
mov edx, ecx
cmp eax, ecx
cmovae edx, eax
mov dword [ebp - 0x580], edx
lea ecx, [edx + 0xa]
mov edx, dword [0x458d34]
call fcn.00412330
mov edx, dword [ebp - 0x580]
mov ebx, eax
push dword [ebp - 0x578]
lea eax, [ebx + 8]
xor ecx, ecx
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov word [edx + eax], cx
mov eax, dword [ebp - 0x57c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x424c36
call fcn.00412410
mov ecx, dword [ebp - 0x578]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [ebp - 0x57c], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0x588]
test al, 1
je 0x424c5b
mov ecx, 0x2d
jmp 0x424c6e
mov ecx, dword [ebp - 0x594]
test dword [ecx], 0x20000
je 0x424c74
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x424c9d
mov edx, dword [ebp - 0x5d0]
test edx, edx
je 0x424c9a
mov ecx, edx
mov eax, 0x300030
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x584]
lea ebx, [ebx + edx*2]
add esi, esi
push esi
push edi
push ebx
call fcn.0042ea70
mov edx, dword [ebp - 0x598]
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x578], edx
mov dword [ebp - 0x590], ebx
jmp 0x425872
mov ecx, dword [esi + 0x10]
fstp st(1)
mov esi, dword [esi + 0x14]
fstp st(0)
mov dword [ebp - 0x5b0], ecx
test esi, esi
jg 0x424d00
jl 0x424cdd
test ecx, ecx
jae 0x424d00
neg ecx
mov dword [ebp - 0x588], 1
adc esi, 0
neg esi
jmp 0x424cfa
mov ecx, dword [esi + 0x10]
fstp st(1)
mov esi, dword [esi + 0x14]
fstp st(0)
mov dword [ebp - 0x5b0], ecx
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x58c], 0xa
mov dword [ebp - 0x5a8], 0
test edx, 0x100
je 0x424d71
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x58c], 0xa
mov dword [ebp - 0x5a8], 0
mov al, byte [eax + 0xa]
cmp al, 2
jb 0x424d71
mov dword [ebp - 0x58c], 0xa
mov dword [ebp - 0x5a8], 0
cmp al, 0x45
ja 0x424d71
movzx eax, al
cdq
mov dword [ebp - 0x5a8], edx
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x58c], eax
test edx, 0x20000000
mov dword [ebp - 0x5a4], 0
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmovne eax, edi
lea edi, [ebp - 0x16]
mov dword [ebp - 0x584], eax
mov eax, ecx
or eax, esi
je 0x424e98
mov ebx, dword [ebp - 0x5b0]
test edx, 0x10000
je 0x424e53
xor eax, eax
mov dword [ebp - 0x598], eax
jmp 0x424dc0
push ebx
push dword [ebp - 0x5a8]
push dword [ebp - 0x58c]
push esi
push ebx
call fcn.00445bd0
mov dword [ebp - 0x5b0], ebx
pop ebx
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x584]
mov edx, dword [ebp - 0x5a4]
inc edx
mov dword [ebp - 0x5a4], edx
movsx ax, byte [eax + ecx]
mov ecx, dword [ebp - 0x598]
inc ecx
mov dword [ebp - 0x598], ecx
mov word [edi], ax
sub edi, 2
cmp ecx, 3
jne 0x424e30
mov eax, ebx
or eax, esi
je 0x424e36
mov ax, word [0x457ae4]
inc edx
mov word [edi], ax
sub edi, 2
xor eax, eax
mov dword [ebp - 0x5a4], edx
mov dword [ebp - 0x598], eax
mov eax, ebx
or eax, esi
jne 0x424dc0
mov ebx, dword [ebp - 0x590]
mov eax, dword [ebp - 0x5a0]
xor ecx, ecx
cmp dword [ebp - 0x588], ecx
je 0x424eb1
mov ecx, 1
jmp 0x424ebe
push ebx
push dword [ebp - 0x5a8]
push dword [ebp - 0x58c]
push esi
push ebx
call fcn.00445bd0
mov dword [ebp - 0x598], ebx
pop ebx
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x584]
mov edx, dword [ebp - 0x5a4]
inc edx
mov dword [ebp - 0x5a4], edx
movsx ax, byte [eax + ecx]
mov word [edi], ax
mov eax, ebx
sub edi, 2
or eax, esi
jne 0x424e53
jmp 0x424e36
mov eax, 0x30
lea edi, [ebp - 0x18]
mov edx, 1
mov word [ebp - 0x16], ax
mov dword [ebp - 0x5a4], edx
jmp 0x424e3c
test eax, 0x20000
mov esi, 1
cmovne ecx, esi
and eax, 0x50000
cmp eax, 0x40000
jne 0x424ef0
mov eax, dword [ebp - 0x594]
movzx esi, word [eax + 6]
lea eax, [ecx + edx]
cmp eax, esi
jae 0x424ef0
or dword [ebp - 0x588], 4
mov eax, esi
sub eax, ecx
sub eax, edx
mov dword [ebp - 0x5d4], eax
add ecx, eax
lea eax, [ecx + edx]
add edi, 2
mov ecx, dword [ebp - 0x578]
mov dword [ebp - 0x584], edi
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x598], ecx
cmp eax, ecx
jae 0x424f8a
mov edx, dword [0x458d34]
add eax, eax
cmp eax, ecx
mov ebx, ecx
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov esi, eax
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov word [ebx + eax], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x424f76
call fcn.00412410
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x5a4]
shr ebx, 1
mov dword [ebp - 0x57c], esi
lea ebx, [eax + ebx*2]
mov eax, dword [ebp - 0x588]
test al, 1
je 0x424f9b
mov ecx, 0x2d
jmp 0x424fae
mov ecx, dword [ebp - 0x594]
test dword [ecx], 0x20000
je 0x424fb4
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x424fdd
mov esi, dword [ebp - 0x5d4]
test esi, esi
je 0x424fda
mov ecx, esi
mov eax, 0x300030
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x584]
lea ebx, [ebx + esi*2]
lea esi, [edx + edx]
push esi
push edi
push ebx
call fcn.0042ea70
mov edx, dword [ebp - 0x598]
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x578], edx
mov dword [ebp - 0x590], ebx
jmp 0x425872
mov edx, dword [ebp - 0x5a0]
fstp st(1)
mov dword [ebp - 0x588], 0
fstp st(0)
test dl, 0x40
je 0x42502f
movzx eax, word [esi + 4]
cmp eax, 0xa2
jbe 0x425034
mov eax, 0xa2
jmp 0x425034
mov eax, 6
test edx, 0x1000
je 0x425043
mov ecx, 0x65
jmp 0x425056
test edx, 0x2000
mov ecx, 0x66
mov edi, 0x61
cmovne ecx, edi
push dword [0x458b00]
fld qword [esi + 0x10]
lea edi, [ebp - 0x413]
push 0
push 0
push eax
test edx, 0x20000000
mov dword [ebp - 0x58c], edi
lea eax, [ecx - 0x20]
cmove eax, ecx
push eax
push 0x15e
lea eax, [ebp - 0x574]
push eax
push 0x3ff
mov eax, edi
push eax
lea eax, [ebp - 0x5ec]
push eax
fstp qword [ebp - 0x5ec]
call fcn.004349fd
mov edx, dword [esi]
add esp, 0x28
test edx, 0x8000
je 0x4250b9
mov ecx, edi
call fcn.004244b0
mov edx, dword [esi]
lea esi, [ebp - 0x413]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4250c2
sub esi, ecx
cmp byte [ebp - 0x413], 0x2d
mov dword [ebp - 0x584], esi
jne 0x4250fa
mov edi, 1
lea ecx, [ebp - 0x412]
dec esi
mov dword [ebp - 0x588], edi
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x584], esi
jmp 0x42511d
test edx, 0x20000
je 0x425115
mov ecx, dword [ebp - 0x58c]
mov edi, 2
mov dword [ebp - 0x588], edi
jmp 0x42511d
mov ecx, edi
mov edi, dword [ebp - 0x588]
mov eax, edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x4252da
mov al, byte [ecx]
mov edi, ecx
sub al, 0x30
cmp al, 0xa
jae 0x42514a
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x425140
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x598], eax
je 0x425167
lea ecx, [eax + 2]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x425169
xor eax, eax
lea ecx, [eax + esi]
mov dword [ebp - 0x5b0], eax
add ecx, ecx
cmp dword [ebp - 0x588], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [ebp - 0x578]
add ecx, eax
mov eax, dword [ebp - 0x580]
cmp eax, ecx
jae 0x42520d
add eax, eax
mov edx, ecx
cmp eax, ecx
cmovae edx, eax
mov dword [ebp - 0x580], edx
lea ecx, [edx + 0xa]
mov edx, dword [0x458d34]
call fcn.00412330
mov edx, dword [ebp - 0x580]
mov ebx, eax
push dword [ebp - 0x578]
lea eax, [ebx + 8]
xor ecx, ecx
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov word [edx + eax], cx
mov eax, dword [ebp - 0x57c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4251f9
call fcn.00412410
mov ecx, dword [ebp - 0x578]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [ebp - 0x57c], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0x598]
xor edx, edx
mov ecx, eax
add eax, 2
div dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x588]
test al, 1
je 0x425231
mov eax, 0x2d
jmp 0x42523a
test al, 2
je 0x425240
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [ebp - 0x598]
test eax, eax
je 0x42528a
mov esi, dword [ebp - 0x58c]
movsx ax, byte [esi]
lea esi, [esi + 1]
dec ecx
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x42527a
test ecx, ecx
je 0x42527e
mov ax, word [0x457ae4]
mov edx, 2
mov word [ebx], ax
add ebx, 2
test ecx, ecx
jne 0x425250
mov esi, dword [ebp - 0x584]
mov eax, dword [ebp - 0x598]
mov edx, esi
mov dword [ebp - 0x584], ebx
sub edx, eax
mov eax, dword [ebp - 0x578]
cmp dword [ebp - 0x588], 0
lea ecx, [eax + 2]
cmove ecx, eax
lea ebx, [ebx + edx*2]
mov eax, dword [ebp - 0x5b0]
add eax, esi
mov dword [ebp - 0x590], ebx
lea eax, [ecx + eax*2]
mov ecx, edi
mov dword [ebp - 0x578], eax
mov eax, dword [ebp - 0x584]
push eax
call fcn.00413590
mov edx, dword [ebp - 0x578]
jmp 0x425872
xor ecx, ecx
test edi, edi
setne cl
mov edi, ecx
test edx, 0x40000
je 0x425312
mov eax, dword [ebp - 0x594]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x425312
or dword [ebp - 0x588], 4
mov eax, edx
sub eax, ecx
sub eax, esi
mov dword [ebp - 0x5c8], eax
lea edi, [ecx + eax]
mov ecx, dword [ebp - 0x578]
lea eax, [edi + esi]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x584], edx
cmp eax, edx
jae 0x4253a3
add eax, eax
mov ebx, edx
cmp eax, edx
mov edx, dword [0x458d34]
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov edi, eax
xor ecx, ecx
lea eax, [edi + 8]
mov dword [edi + 4], eax
mov dword [edi], ebx
mov word [ebx + eax], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42538f
call fcn.00412410
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x584]
shr ebx, 1
mov dword [ebp - 0x57c], edi
lea ebx, [eax + ebx*2]
mov eax, dword [ebp - 0x588]
test al, 1
je 0x4253b4
mov ecx, 0x2d
jmp 0x4253bd
test al, 2
je 0x4253c3
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x4253ec
mov eax, dword [ebp - 0x5c8]
test eax, eax
je 0x4253e9
mov ecx, eax
mov edi, ebx
shr ecx, 1
mov eax, 0x300030
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x5c8]
lea ebx, [ebx + eax*2]
mov edi, dword [ebp - 0x58c]
mov eax, ebx
mov dword [ebp - 0x578], edx
lea ebx, [ebx + esi*2]
mov edx, esi
mov dword [ebp - 0x590], ebx
push eax
mov ecx, edi
call fcn.00413590
mov edx, dword [ebp - 0x578]
jmp 0x425872
mov eax, dword [ebp - 0x594]
xor edi, edi
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x5dc], esi
mov dword [ebp - 0x5e4], edi
mov edx, dword [eax + 0x14]
mov eax, edx
mov ecx, edx
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [ebp - 0x5d8], eax
or esi, edx
mov dword [ebp - 0x5e0], ecx
fild qword [ebp - 0x5dc]
fild qword [ebp - 0x5e4]
fchs
faddp st(1)
jne 0x42550b
mov edi, dword [ebp - 0x578]
fstp st(0)
mov eax, dword [ebp - 0x580]
add edi, 2
fstp st(1)
fstp st(0)
cmp eax, edi
jae 0x4254ed
mov edx, dword [0x458d34]
add eax, eax
cmp eax, edi
mov ebx, edi
cmovae ebx, eax
mov dword [ebp - 0x580], ebx
lea ecx, [ebx + 0xa]
call fcn.00412330
mov esi, eax
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov word [ebx + eax], cx
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x578]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4254df
call fcn.00412410
mov eax, dword [esi + 4]
shr ebx, 1
mov dword [ebp - 0x57c], esi
lea ebx, [eax + ebx*2]
mov eax, 0x30
mov edx, edi
mov word [ebx], ax
add ebx, 2
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x578], edx
jmp 0x425872
mov edx, dword [ebp - 0x5a0]
mov esi, dword [ebp - 0x594]
test edx, 0x100
je 0x425525
movzx ecx, byte [esi + 0xa]
jmp 0x42552b
mov ecx, dword [0x4577b0]
fcomi st(2)
jb 0x42553f
cmp edi, 7
jae 0x42553f
cmp edi, ecx
jae 0x42553f
fmul st(1)
inc edi
fcomi st(2)
jae 0x42552f
fstp st(2)
fstp st(0)
test dl, 0x40
je 0x42554e
movzx eax, word [esi + 4]
jmp 0x425553
mov eax, 2
push dword [0x458b00]
movzx eax, ax
mov ecx, 0xa2
push 0
cmp eax, 0xa2
mov dword [ebp - 0x5b0], 0
push 0
cmova eax, ecx
lea ecx, [ebp - 0x413]
push eax
push 0x66
push 0x15e
lea eax, [ebp - 0x574]
mov dword [ebp - 0x598], ecx
push eax
mov eax, ecx
push 0x3ff
push eax
lea eax, [ebp - 0x5f4]
push eax
fstp qword [ebp - 0x5f4]
call fcn.004349fd
add esp, 0x28
lea ecx, [ebp - 0x413]
call fcn.004244b0
lea esi, [ebp - 0x413]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4255c3
sub esi, ecx
cmp byte [ebp - 0x413], 0x2d
mov dword [ebp - 0x5a8], esi
jne 0x4255fa
lea edx, [ebp - 0x412]
mov dword [ebp - 0x5b0], 1
dec esi
mov dword [ebp - 0x598], edx
mov dword [ebp - 0x5a8], esi
jmp 0x425600
mov edx, dword [ebp - 0x598]
mov al, byte [edx]
mov ecx, edx
sub al, 0x30
mov dword [ebp - 0x584], edx
cmp al, 0xa
jae 0x425620
mov al, byte [ecx + 1]
inc ecx
sub al, 0x30
cmp al, 0xa
jb 0x425610
mov dword [ebp - 0x584], ecx
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x58c], eax
je 0x42563d
lea ecx, [eax + 2]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x42563f
xor eax, eax
lea ecx, [eax + esi]
mov dword [ebp - 0x5a4], eax
add ecx, ecx
cmp dword [ebp - 0x5b0], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [ebp - 0x578]
add ecx, eax
mov eax, dword [ebp - 0x580]
cmp eax, ecx
jae 0x4256e7
add eax, eax
mov edx, ecx
cmp eax, ecx
cmovae edx, eax
mov dword [ebp - 0x580], edx
lea ecx, [edx + 0xa]
mov edx, dword [0x458d34]
call fcn.00412330
mov ecx, dword [ebp - 0x580]
mov ebx, eax
push dword [ebp - 0x578]
lea eax, [ebx + 8]
xor edx, edx
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov word [ecx + eax], dx
mov eax, dword [ebp - 0x57c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4256d3
call fcn.00412410
mov ecx, dword [ebp - 0x578]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [ebp - 0x57c], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0x58c]
xor edx, edx
mov ecx, eax
add eax, 2
div dword [ebp - 0x5cc]
cmp dword [ebp - 0x5b0], 0
je 0x42570e
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword [ebp - 0x58c]
test eax, eax
je 0x42575a
mov esi, dword [ebp - 0x598]
mov edi, edi
movsx ax, byte [esi]
lea esi, [esi + 1]
dec ecx
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x42574a
test ecx, ecx
je 0x42574e
mov ax, word [0x457ae4]
mov edx, 2
mov word [ebx], ax
add ebx, 2
test ecx, ecx
jne 0x425720
mov esi, dword [ebp - 0x5a8]
mov eax, dword [ebp - 0x58c]
mov ecx, dword [ebp - 0x584]
sub esi, eax
push ebx
mov edx, esi
call fcn.00413590
mov eax, dword [ebp - 0x578]
lea esi, [ebx + esi*2]
cmp dword [ebp - 0x5b0], 0
mov edx, dword [ebp - 0x580]
lea ecx, [eax + 2]
cmove ecx, eax
mov eax, dword [ebp - 0x5a8]
add eax, dword [ebp - 0x5a4]
lea ebx, [ecx + eax*2]
mov ecx, dword [edi*8 + 0x457aac]
lea eax, [ebx + 2]
mov dword [ebp - 0x584], ebx
add eax, ecx
cmp edx, eax
jae 0x425824
add ecx, 2
lea eax, [edx + edx]
mov edx, dword [0x458d34]
add ecx, ebx
cmp eax, ecx
cmovae ecx, eax
mov dword [ebp - 0x580], ecx
add ecx, 0xa
call fcn.00412330
mov ecx, dword [ebp - 0x580]
mov esi, eax
lea eax, [esi + 8]
xor edx, edx
push ebx
mov dword [esi + 4], eax
mov dword [esi], ecx
mov word [eax + ecx], dx
mov eax, dword [ebp - 0x57c]
push dword [eax + 4]
push dword [esi + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x425814
call fcn.00412410
mov eax, dword [esi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [ebp - 0x57c], esi
lea esi, [eax + ecx*2]
mov eax, 0x20
mov word [esi], ax
lea eax, [esi + 2]
push dword [edi*8 + 0x457aac]
push dword [edi*8 + 0x457ab0]
push eax
call fcn.0042ea70
mov ecx, dword [edi*8 + 0x457aac]
add esp, 0xc
mov edx, dword [ebp - 0x584]
add edx, 2
lea eax, [ecx + 2]
shr eax, 1
add edx, ecx
mov dword [ebp - 0x578], edx
lea ebx, [esi + eax*2]
mov dword [ebp - 0x590], ebx
jmp 0x425872
fstp st(1)
fstp st(0)
mov ecx, dword [ebp - 0x594]
mov edi, edx
sub edi, dword [ebp - 0x5bc]
mov eax, dword [ecx]
test eax, 0xc0000000
je 0x4259df
movzx esi, word [ecx + 6]
add esi, esi
cmp edi, esi
jae 0x4259df
sub esi, edi
lea ecx, [esi + edx]
mov edx, dword [ebp - 0x580]
mov dword [ebp - 0x5b0], ecx
cmp edx, ecx
jae 0x425939
lea eax, [edx + edx]
mov edx, ecx
cmp eax, ecx
cmovae edx, eax
mov dword [ebp - 0x580], edx
lea ecx, [edx + 0xa]
mov edx, dword [0x458d34]
call fcn.00412330
mov ecx, dword [ebp - 0x580]
mov ebx, eax
push dword [ebp - 0x578]
lea eax, [ebx + 8]
xor edx, edx
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov word [eax + ecx], dx
mov eax, dword [ebp - 0x57c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.0042ea70
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42591b
call fcn.00412410
mov ecx, dword [ebp - 0x578]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [ebp - 0x57c], ebx
lea ebx, [eax + ecx*2]
mov ecx, dword [ebp - 0x594]
mov eax, dword [ecx]
jmp 0x42593f
mov ecx, dword [ebp - 0x594]
test al, al
jns 0x425949
movzx edx, word [ecx + 8]
jmp 0x42594e
mov edx, 0x20
shr esi, 1
mov dword [ebp - 0x584], edx
test eax, eax
jns 0x42597b
test esi, esi
je 0x425977
mov eax, edx
mov ecx, esi
movzx edx, ax
mov edi, ebx
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
add esi, esi
jmp 0x4259cb
mov eax, edi
mov ecx, ebx
and eax, 0xfffffffe
sub ecx, eax
lea eax, [esi + esi]
push edi
mov dword [ebp - 0x598], eax
add eax, ecx
push ecx
push eax
mov dword [ebp - 0x5bc], ecx
call fcn.0042f0f0
add esp, 0xc
test esi, esi
je 0x4259c5
mov eax, dword [ebp - 0x584]
mov ecx, esi
mov edi, dword [ebp - 0x5bc]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov esi, dword [ebp - 0x598]
mov edx, dword [ebp - 0x5b0]
add ebx, esi
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x578], edx
mov esi, dword [ebp - 0x5b8]
fld qword [0x453bc8]
fld qword [0x453bb8]
mov edi, dword [ebp - 0x580]
test esi, esi
jne 0x4246c8
mov eax, dword [ebp - 0x57c]
xor esi, esi
pop edi
fstp st(1)
fstp st(0)
mov ecx, dword [eax + 4]
mov dword [eax], edx
shr edx, 1
mov word [ecx + edx*2], si
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d1c6
mov esp, ebp
pop ebp
ret 4