Function at 0x4093a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x46b040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x46c], eax
mov edx, ecx
mov dword [ebp - 0x41c], 0
mov ebx, eax
mov dword [ebp - 0x44c], edx
sete byte [ebp - 0x415]
mov dword [ebp - 0x424], ebx
test byte [0x46bd2c], 1
jne 0x4094df
mov esi, 0x46bd2c
lock bts dword ds:[esi], 0x1f
jb 0x4094c9
push 4
lea eax, [ebp - 0x10]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x409433
mov ax, word [ebp - 0x10]
test ax, ax
je 0x409433
cmp word [ebp - 0xe], 0
jne 0x409433
mov word [0x46bd34], ax
push 4
lea eax, [ebp - 0x10]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x409460
mov ax, word [ebp - 0x10]
test ax, ax
je 0x409460
cmp word [ebp - 0xe], 0
jne 0x409460
mov word [0x46bd78], ax
cmp word [0x46bd34], 0x2e
je 0x40947e
push 0x4640bc
push 0
call fcn.0042836b
add esp, 8
mov dword [0x46ce94], eax
lock bts dword [esi], 0
jb 0x4094d9
mov esi, dword [0x46bd30]
test esi, esi
je 0x409498
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
mov ecx, 0x46bd2c
lock xadd dword [ecx], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x4094d9
test esi, esi
je 0x4094d9
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x46bd30], 0
jmp 0x4094d9
test byte [0x46bd2c], 1
jne 0x4094df
mov ecx, esi
call fcn.004155c0
mov edx, dword [ebp - 0x44c]
fld qword [0x468be0]
mov si, word [0x46bd78]
fst qword [ebp - 0x484]
fld qword [0x468bd0]
mov word [ebp - 0x426], si
xor esi, esi
fst qword [ebp - 0x48c]
mov dword [ebp - 0x464], 1
mov dword [ebp - 0x45c], 3
dec edi
mov dword [ebp - 0x450], esi
mov dword [ebp - 0xc], edi
mov ecx, edx
mov edi, edx
mov dword [ebp - 0x420], 0
add edx, 0x18
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x44c], edx
mov edx, dword [edi]
mov eax, edx
and eax, 0x3f
mov dword [ebp - 0x42c], edx
cmp eax, 0xc
ja case.default.0x409558
jmp dword [eax*4 + 0x40a654]
cmp byte [ebp - 0x415], 0
fstp st(1)
fstp st(0)
jne 0x409599
lea eax, [esi + 2]
cmp dword [ebp + 0xc], eax
jae 0x409592
add ebx, 2
mov byte [ebp - 0x415], 1
add esi, 2
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov ax, word [edi + 0x10]
mov word [ebx], ax
add ebx, 2
add esi, 2
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
cmp byte [ebp - 0x415], 0
fstp st(1)
fstp st(0)
jne 0x4095de
mov ecx, dword [edi + 0x10]
lea eax, [ecx + esi]
cmp dword [ebp + 0xc], eax
jae 0x4095d1
mov byte [ebp - 0x415], 1
jmp 0x4095de
push ecx
push dword [edi + 0x14]
push ebx
call fcn.00423850
add esp, 0xc
mov eax, dword [edi + 0x10]
shr eax, 1
add esi, dword [edi + 0x10]
mov dword [ebp - 0x41c], esi
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x424], ebx
jmp 0x40a50a
mov ecx, dword [edi + 0x10]
fstp st(1)
fstp st(0)
call fcn.004069e0
cmp byte [ebp - 0x415], 0
mov esi, eax
jne 0x40963b
mov ecx, dword ds:[ebp - 0x41c]
lea edx, [esi + esi]
add ecx, edx
cmp dword [ebp + 0xc], ecx
jae 0x40962e
mov byte [ebp - 0x415], 1
jmp 0x40963b
push edx
push dword [edi + 0x10]
push ebx
call fcn.00423850
add esp, 0xc
lea ebx, [ebx + esi*2]
lea eax, [esi + esi]
mov esi, dword [ebp - 0x41c]
add esi, eax
mov dword [ebp - 0x424], ebx
mov ax, word [0x46bd78]
mov dword [ebp - 0x41c], esi
mov word [ebp - 0x426], ax
jmp 0x40a50a
fstp st(1)
fstp st(0)
cmp edx, 3
jne 0x40967e
mov eax, dword [ebp - 0x448]
mov edi, dword [edi + 0x14]
mov esi, dword [eax + 0x10]
jmp 0x40968f
mov edi, dword [edi + 0x10]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409686
sub esi, ecx
push esi
push edi
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
mov edi, edi
test eax, eax
js 0x40a0de
cmp byte [ebp - 0x415], 0
jne 0x4096e8
mov eax, dword ds:[ebp - 0x41c]
mov ecx, dword [ebp - 0x454]
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x4096ce
mov byte [ebp - 0x415], 1
jmp 0x4096ee
push esi
push edi
push 0
push ecx
push ebx
lfence
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
lea ecx, [ecx]
test eax, eax
js 0x40a0de
mov ecx, dword [ebp - 0x454]
mov esi, dword [ebp - 0x41c]
mov eax, ecx
shr eax, 1
add esi, ecx
mov dword [ebp - 0x41c], esi
lea ebx, [ebx + eax*2]
mov ax, word [0x46bd78]
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x426], ax
jmp 0x40a50a
mov eax, 0x10
mov eax, dword [ecx + eax]
mov ecx, eax
cdq
mov esi, eax
shr ecx, 0x1f
xor esi, edx
mov dword [ebp - 0x420], ecx
sub esi, edx
mov edx, dword [ebp - 0x42c]
jmp 0x409740
mov esi, dword [edi + 0x10]
fstp st(1)
fstp st(0)
mov dword [ebp - 0x430], 0xa
test edx, 0x100
je 0x40976d
mov al, byte [edi + 0xa]
cmp al, 2
jb 0x40976d
lea ecx, [ecx]
cmp al, 0x45
ja 0x40976d
movzx eax, al
mov dword [ebp - 0x430], eax
test edx, 0x20000000
mov ecx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x438], eax
lea ecx, [ebp - 0x16]
test esi, esi
je 0x409858
test edx, 0x10000
je 0x40982e
xor eax, eax
mov dword [ebp - 0x434], eax
jmp 0x4097b0
mov eax, esi
xor edx, edx
div dword [ebp - 0x430]
inc edi
mov esi, eax
mov dword [ebp - 0x440], edi
mov eax, dword [ebp - 0x438]
movsx ax, byte [eax + edx]
mov word [ecx], ax
sub ecx, 2
mov eax, dword [ebp - 0x434]
inc eax
mov dword [ebp - 0x434], eax
cmp eax, 3
jne 0x409828
test esi, esi
je 0x40986f
mov ax, word [ebp - 0x426]
xor edx, edx
mov word [ecx], ax
mov eax, esi
div dword [ebp - 0x430]
mov dword [ebp - 0x434], 1
mov esi, eax
mov eax, dword [ebp - 0x438]
movsx eax, byte [edx + eax]
mov word [ecx - 2], ax
add ecx, 0xfffffffc
add edi, 2
mov dword [ebp - 0x440], edi
test esi, esi
jne 0x4097b0
jmp 0x40986f
mov ebx, dword [ebp - 0x438]
mov eax, esi
xor edx, edx
div dword [ebp - 0x430]
inc edi
mov esi, eax
movsx ax, byte [ebx + edx]
mov word [ecx], ax
sub ecx, 2
test esi, esi
jne 0x409834
mov ebx, dword [ebp - 0x424]
jmp 0x409869
mov eax, 0x30
lea ecx, [ebp - 0x18]
mov word [ebp - 0x16], ax
mov edi, 1
mov dword [ebp - 0x440], edi
mov esi, dword [ebp - 0x42c]
xor edx, edx
cmp dword [ebp - 0x420], edx
je 0x409886
mov edx, 1
jmp 0x409894
test esi, 0x20000
mov eax, 1
cmovne edx, eax
mov eax, esi
mov dword [ebp - 0x438], edx
and eax, 0x50000
cmp eax, 0x40000
jne 0x4098d8
mov eax, dword [ebp - 0x448]
movzx esi, word [eax + 6]
lea eax, [edx + edi]
cmp eax, esi
jae 0x4098d2
or dword [ebp - 0x420], 4
sub esi, edx
sub esi, edi
add edx, esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x438], edx
mov esi, dword [ebp - 0x42c]
add ecx, 2
cmp byte [ebp - 0x415], 0
mov dword [ebp - 0x434], ecx
jne 0x409987
lea eax, [edx + edi]
mov edx, dword [ebp - 0x41c]
lea eax, [edx + eax*2]
cmp dword [ebp + 0xc], eax
jae 0x40991e
mov eax, dword [ebp - 0x438]
mov esi, edx
add eax, edi
mov byte [ebp - 0x415], 1
lea esi, [esi + eax*2]
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov eax, dword [ebp - 0x420]
test al, 1
je 0x40992f
mov edx, 0x2d
jmp 0x40993c
test esi, 0x20000
je 0x409942
mov edx, 0x2b
mov word [ebx], dx
add ebx, 2
test al, 4
je 0x409971
mov edx, dword [ebp - 0x460]
test edx, edx
je 0x40996e
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 ecx, dword [ebp - 0x434]
mov edi, dword [ebp - 0x440]
lea ebx, [ebx + edx*2]
lea esi, [edi + edi]
push esi
push ecx
push ebx
call fcn.00423850
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x424], ebx
mov eax, dword ds:[ebp - 0x438]
mov esi, dword [ebp - 0x41c]
add eax, edi
lea esi, [esi + eax*2]
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov edx, dword [edi + 0x14]
fstp st(1)
mov eax, dword [edi + 0x10]
fstp st(0)
mov dword [ebp - 0x440], eax
test edx, edx
jg 0x4099e3
jl 0x4099bf
test eax, eax
jae 0x4099e3
neg eax
mov esi, 1
mov dword [ebp - 0x420], esi
adc edx, 0
neg edx
jmp 0x4099dd
mov eax, dword [edi + 0x10]
fstp st(1)
mov edx, dword [edi + 0x14]
fstp st(0)
mov dword [ebp - 0x440], eax
mov esi, dword [ebp - 0x42c]
mov dword [ebp - 0x434], 0xa
test esi, 0x100
je 0x409a13
mov cl, byte ds:[edi + 0xa]
cmp cl, 2
jb 0x409a13
cmp cl, 0x45
ja 0x409a13
movzx ecx, cl
mov dword [ebp - 0x434], ecx
test esi, 0x20000000
lea edi, [ebp - 0x16]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov ecx, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmovne ecx, esi
xor esi, esi
or eax, edx
mov dword [ebp - 0x430], ecx
je 0x409b1a
test dword [ebp - 0x42c], 0x10000
mov ebx, dword [ebp - 0x440]
je 0x409ae0
xor eax, eax
mov dword [ebp - 0x438], eax
push ebx
push 0
push dword [ebp - 0x434]
push edx
push ebx
call fcn.0043d3c0
mov dword [ebp - 0x440], ebx
pop ebx
nop
mov ebx, eax
inc esi
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x440], esi
movsx cx, byte [ecx + eax]
mov eax, dword [ebp - 0x438]
inc eax
mov word [edi], cx
sub edi, 2
cmp eax, 3
jne 0x409aab
mov eax, ebx
or eax, edx
je 0x409abd
mov ax, word [ebp - 0x426]
mov word [edi], ax
sub edi, 2
inc esi
jmp 0x409a4f
mov dword [ebp - 0x438], eax
mov eax, ebx
or eax, edx
mov dword [ebp - 0x440], esi
jne 0x409a57
mov ebx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x420]
xor ecx, ecx
mov eax, dword [ebp - 0x42c]
test edx, edx
je 0x409b33
mov ecx, 1
jmp 0x409b3f
push ebx
push 0
push dword [ebp - 0x434]
push edx
push ebx
call fcn.0043d3c0
mov dword [ebp - 0x438], ebx
pop ebx
nop
mov ebx, eax
inc esi
mov eax, dword [ebp - 0x430]
movsx ax, byte [ecx + eax]
mov word [edi], ax
mov eax, ebx
sub edi, 2
or eax, edx
jne 0x409ae0
mov dword [ebp - 0x440], esi
jmp 0x409abd
mov eax, 0x30
lea edi, [ebp - 0x18]
mov esi, 1
mov word [ebp - 0x16], ax
mov dword [ebp - 0x440], esi
jmp 0x409ac3
test eax, 0x20000
cmovne ecx, dword [ebp - 0x464]
and eax, 0x50000
mov dword [ebp - 0x438], ecx
cmp eax, 0x40000
jne 0x409b83
mov eax, dword ds:[ebp - 0x448]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x409b7d
or dword [ebp - 0x420], 4
sub edx, ecx
sub edx, esi
add ecx, edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x420]
add edi, 2
cmp byte [ebp - 0x415], 0
mov dword [ebp - 0x434], edi
jne 0x409c30
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x41c]
lea eax, [ecx + eax*2]
cmp dword [ebp + 0xc], eax
jae 0x409bcd
mov eax, dword [ebp - 0x440]
mov esi, ecx
add eax, dword [ebp - 0x438]
mov byte [ebp - 0x415], 1
lea esi, [esi + eax*2]
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
test dl, 1
je 0x409bd9
mov eax, 0x2d
jmp 0x409bea
test dword [ebp - 0x42c], 0x20000
je 0x409bf0
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
test dl, 4
je 0x409c1a
mov edx, dword [ebp - 0x468]
test edx, edx
je 0x409c17
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 - 0x434]
lea ebx, [ebx + edx*2]
add esi, esi
push esi
push edi
push ebx
call fcn.00423850
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x424], ebx
mov eax, dword [ebp - 0x440]
mov esi, dword [ebp - 0x41c]
add eax, dword [ebp - 0x438]
lea esi, [esi + eax*2]
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov dword ds:[ebp - 0x420], 0
fstp st(1)
fstp st(0)
test dl, 0x40
je 0x409c78
movzx edx, word [edi + 4]
cmp edx, 0xa2
jbe 0x409c7d
mov edx, 0xa2
jmp 0x409c7d
mov edx, 6
fld qword [edi + 0x10]
lea esi, [ebp - 0x413]
mov edi, dword [ebp - 0x42c]
sub esp, 0x10
mov eax, esi
mov ecx, edi
fstp qword [esp + 8]
push eax
call fcn.0041a0e0
lea ecx, [ecx]
test al, al
jne 0x409cac
mov byte [ebp - 0x413], al
jmp 0x409d08
mov edx, dword [0x46ce94]
test edx, edx
je 0x409cdb
mov al, byte [ebp - 0x413]
lea ecx, [ebp - 0x413]
test al, al
je 0x409cdb
cmp al, 0x2e
je 0x409cd4
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409cc6
jmp 0x409cdb
mov al, byte [0x46bd34]
mov byte [ecx], al
jmp 0x409ce0
test edi, 0x20000000
je 0x409d08
lea eax, [ebp - 0x413]
test edx, edx
je 0x409cfe
push edx
push eax
call fcn.00427b17
add esp, 8
jmp 0x409d08
push eax
call fcn.00427abb
add esp, 4
mov eax, dword ds:[ebp - 0x448]
mov edx, dword ds:[eax]
mov dword [ebp - 0x438], edx
test edx, 0x8000
je 0x409da4
mov al, byte ds:[ebp - 0x413]
lea ecx, [ebp - 0x413]
mov ah, byte [0x46bd34]
test al, al
je 0x409d50
cmp al, ah
je 0x409d50
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409d44
mov al, byte [ecx]
inc ecx
test al, al
je 0x409da4
mov al, byte [ecx]
test al, al
je 0x409d70
lea ecx, [ecx]
cmp al, 0x65
je 0x409d70
cmp al, 0x45
je 0x409d70
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409d60
mov al, byte [ecx - 1]
mov edi, ecx
dec ecx
cmp al, 0x30
jne 0x409d88
lea ebx, [ebx]
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x409d80
cmp al, ah
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte [edi]
lea edx, [edx + 1]
mov byte [edx], al
lea edi, [edi + 1]
test al, al
jne 0x409d90
mov edx, dword [ebp - 0x438]
lea edi, [ebp - 0x413]
lea ecx, [edi + 1]
lea ecx, [ecx]
mov al, byte [edi]
inc edi
test al, al
jne 0x409db0
sub edi, ecx
cmp byte [ebp - 0x413], 0x2d
mov dword [ebp - 0x438], edi
jne 0x409de2
dec edi
mov dword [ebp - 0x420], 1
lea esi, [ebp - 0x412]
mov dword [ebp - 0x438], edi
jmp 0x409dfc
mov ecx, dword [ebp - 0x420]
test edx, 0x20000
mov eax, 2
cmovne ecx, eax
mov dword [ebp - 0x420], ecx
mov eax, edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x409fb9
mov al, byte [esi]
mov ecx, esi
sub al, 0x30
mov dword [ebp - 0x42c], esi
cmp al, 0xa
jae 0x409e30
mov edi, edi
mov al, byte [ecx + 1]
inc ecx
sub al, 0x30
cmp al, 0xa
jb 0x409e20
mov dword [ebp - 0x42c], ecx
mov eax, ecx
sub eax, esi
mov dword [ebp - 0x430], eax
lea edx, [eax + 2]
mov dword [ebp - 0x440], edx
je 0x409e59
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
mov edx, dword [ebp - 0x440]
shr eax, 1
dec eax
jmp 0x409e5b
xor eax, eax
mov dword [ebp - 0x434], eax
add eax, edi
add eax, eax
cmp dword [ebp - 0x420], 0
lea ecx, [eax + 2]
cmove ecx, eax
cmp byte [ebp - 0x415], 0
mov ax, word [0x46bd78]
mov dword [ebp - 0x440], ecx
mov word [ebp - 0x426], ax
jne 0x409eb1
mov eax, ecx
mov ecx, dword [ebp - 0x42c]
add eax, dword [ebp - 0x41c]
cmp dword [ebp + 0xc], eax
jae 0x409eb1
mov byte [ebp - 0x415], 1
jmp 0x409f56
mov ecx, dword [ebp - 0x430]
mov eax, edx
xor edx, edx
div dword [ebp - 0x45c]
cmp byte [ebp - 0x415], 0
jne 0x409f50
mov eax, dword [ebp - 0x420]
test al, 1
je 0x409edf
mov eax, 0x2d
jmp 0x409ee9
nop
test al, 2
je 0x409ef5
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov dword [ebp - 0x424], ebx
mov eax, dword ds:[ebp - 0x430]
test eax, eax
je 0x409fb1
mov di, word [ebp - 0x426]
nop
movsx ax, byte ds:[esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x409f3d
test ecx, ecx
je 0x409f44
mov word [ebx], di
dec ecx
movsx ax, byte [esi]
mov edx, 1
mov word [ebx + 2], ax
add ebx, 4
inc esi
lea ecx, [ecx]
test ecx, ecx
jne 0x409f10
mov edi, dword [ebp - 0x438]
mov dword [ebp - 0x424], ebx
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x420], 0
mov esi, dword [ebp - 0x41c]
je 0x409f6e
add esi, 2
add eax, dword [ebp - 0x434]
sub edi, dword [ebp - 0x430]
cmp byte [ebp - 0x415], 0
lea esi, [esi + eax*2]
mov dword [ebp - 0x41c], esi
jne 0x40a50a
push ebx
mov edx, edi
call fcn.00407380
lea eax, [edi + edi]
lea ebx, [ebx + edi*2]
add esi, eax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov ecx, dword [ebp - 0x42c]
jmp 0x409f5c
mov eax, dword [ebp - 0x448]
xor ecx, ecx
cmp dword [ebp - 0x420], ecx
setne cl
test dword [eax], 0x40000
mov edx, ecx
je 0x40a003
movzx eax, word [eax + 6]
mov dword [ebp - 0x434], eax
lea eax, [ecx + edi]
cmp eax, dword [ebp - 0x434]
jae 0x40a003
mov eax, dword [ebp - 0x434]
or dword [ebp - 0x420], 4
sub eax, ecx
sub eax, edi
mov dword [ebp - 0x458], eax
lea edx, [ecx + eax]
mov al, byte [ebp - 0x415]
mov ecx, dword [ebp - 0x41c]
test al, al
jne 0x40a0bc
lea eax, ds:[edx + edi]
lea eax, [ecx + eax*2]
cmp dword [ebp + 0xc], eax
jae 0x40a049
mov ax, word [0x46bd78]
mov esi, ecx
mov byte [ebp - 0x415], 1
mov word [ebp - 0x426], ax
lea esi, [esi + edx*2]
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov eax, dword [ebp - 0x420]
test al, 1
je 0x40a05a
mov ecx, 0x2d
jmp 0x40a063
test al, 2
je 0x40a075
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], ebx
test al, 4
je 0x40a0b6
mov eax, dword ds:[ebp - 0x458]
test eax, eax
je 0x40a0a8
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 edi, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x458]
lea ecx, [ecx + edx*2]
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x41c], ecx
jmp 0x40a0c9
mov al, byte [ebp - 0x415]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x41c], ecx
test al, al
jne 0x40a0de
push ebx
mov edx, edi
mov ecx, esi
call fcn.00407380
lea ebx, [ebx + edi*2]
lea eax, [edi + edi]
jmp 0x409641
mov ax, word [0x46bd78]
mov esi, dword [ebp - 0x41c]
mov word [ebp - 0x426], ax
jmp 0x40a50a
mov eax, dword [ebp - 0x448]
xor edi, edi
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x438], edi
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, edx
mov ecx, edx
mov dword [ebp - 0x474], esi
and eax, 0x7fffffff
and ecx, 0x80000000
or esi, edx
mov dword [ebp - 0x470], eax
fild qword [ebp - 0x474]
mov dword [ebp - 0x478], ecx
fild qword [ebp - 0x47c]
fchs
faddp st(1)
jne 0x40a1a5
cmp byte [ebp - 0x415], 0
fstp st(0)
mov esi, dword [ebp - 0x41c]
fstp st(1)
fstp st(0)
jne 0x40a18d
lea eax, ds:[esi + 2]
cmp dword [ebp + 0xc], eax
jae 0x40a185
add ebx, 2
mov byte [ebp - 0x415], 1
add esi, 2
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov eax, 0x30
mov word [ebx], ax
add ebx, 2
add esi, 2
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x41c], esi
jmp 0x40a50a
mov edx, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x448]
test edx, 0x100
je 0x40a1bf
movzx ecx, byte [esi + 0xa]
jmp 0x40a1c2
or ecx, 0xffffffff
fcomi st(2)
jb 0x40a1dc
cmp edi, 7
jae 0x40a1d6
cmp edi, ecx
jae 0x40a1d6
fmul st(1)
inc edi
fcomi st(2)
jae 0x40a1c6
mov dword [ebp - 0x438], edi
fstp st(2)
fstp st(0)
test dl, 0x40
je 0x40a1eb
movzx eax, word [esi + 4]
jmp 0x40a1f0
mov eax, 2
movzx edx, ax
lea edi, [ebp - 0x413]
cmp edx, 0xa2
mov dword [ebp - 0x440], 0
mov eax, 0xa2
mov ecx, 0x1804b
cmova edx, eax
sub esp, 0x10
mov eax, edi
fstp qword [esp + 8]
push eax
call fcn.0041a0e0
test al, al
jne 0x40a233
xor dl, dl
mov byte [ebp - 0x413], dl
jmp 0x40a26c
cmp dword [0x46ce94], 0
mov dl, byte [ebp - 0x413]
je 0x40a26c
lea ecx, [ebp - 0x413]
test dl, dl
je 0x40a26c
mov al, dl
mov edi, edi
cmp al, 0x2e
je 0x40a25e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a250
jmp 0x40a26c
mov ax, word [0x46bd34]
mov byte [ecx], al
mov dl, byte [ebp - 0x413]
lea ecx, [ebp - 0x413]
test dl, dl
je 0x40a290
mov al, dl
jmp 0x40a280
cmp al, byte [0x46bd34]
je 0x40a290
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a278
mov al, byte [ecx]
inc ecx
test al, al
je 0x40a2ea
mov al, byte [ecx]
test al, al
je 0x40a2b0
lea ecx, [ecx]
cmp al, 0x65
je 0x40a2b0
cmp al, 0x45
je 0x40a2b0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a2a0
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x40a2c8
lea ebx, [ebx]
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x40a2c0
cmp al, byte [0x46bd34]
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte ds:[esi]
lea edx, [edx + 1]
mov byte [edx], al
lea esi, [esi + 1]
test al, al
jne 0x40a2d4
mov dl, byte [ebp - 0x413]
lea esi, [ebp - 0x413]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a2f3
sub esi, ecx
mov dword [ebp - 0x434], esi
cmp dl, 0x2d
jne 0x40a324
mov dl, byte [ebp - 0x412]
lea edi, [ebp - 0x412]
dec esi
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x434], esi
sub dl, 0x30
mov dword [ebp - 0x430], edi
mov ecx, edi
cmp dl, 0xa
jae 0x40a344
mov al, byte [ecx + 1]
inc ecx
sub al, 0x30
cmp al, 0xa
jb 0x40a334
mov dword [ebp - 0x430], ecx
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x420], eax
lea edx, [eax + 2]
mov dword [ebp - 0x424], edx
je 0x40a36d
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
mov edx, dword [ebp - 0x424]
shr eax, 1
dec eax
jmp 0x40a36f
xor eax, eax
mov dword [ebp - 0x42c], eax
add eax, esi
add eax, eax
cmp dword [ebp - 0x440], 0
lea ecx, [eax + 2]
cmove ecx, eax
cmp byte [ebp - 0x415], 0
mov ax, word [0x46bd78]
mov dword [ebp - 0x424], ecx
mov word [ebp - 0x426], ax
jne 0x40a3c5
mov eax, ecx
mov ecx, dword [ebp - 0x430]
add eax, dword [ebp - 0x41c]
cmp dword [ebp + 0xc], eax
jae 0x40a3c5
mov byte ds:[ebp - 0x415], 1
jmp 0x40a450
mov ecx, dword [ebp - 0x420]
mov eax, edx
xor edx, edx
div dword [ebp - 0x45c]
cmp byte [ebp - 0x415], 0
jne 0x40a44a
cmp dword [ebp - 0x440], 0
je 0x40a3f2
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword ds:[ebp - 0x420]
test eax, eax
je 0x40a4b2
mov si, word [ebp - 0x426]
nop
movsx ax, byte ds:[edi]
dec ecx
inc edi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x40a43d
test ecx, ecx
je 0x40a444
mov word [ebx], si
dec ecx
movsx ax, byte [edi]
mov edx, 1
mov word [ebx + 2], ax
add ebx, 4
inc edi
lea ecx, [ecx]
test ecx, ecx
jne 0x40a410
mov esi, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x420]
cmp dword [ebp - 0x440], 0
je 0x40a466
add dword [ebp - 0x41c], 2
add eax, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x41c]
sub esi, dword [ebp - 0x420]
cmp byte [ebp - 0x415], 0
lea edi, [edx + eax*2]
jne 0x40a4de
push ebx
mov edx, esi
call fcn.00407380
lea edi, [edi + esi*2]
lea ebx, [ebx + esi*2]
mov esi, dword [ebp - 0x438]
mov eax, dword [esi*8 + 0x46bd40]
add eax, 2
add eax, edi
cmp dword [ebp + 0xc], eax
jae 0x40a4ba
mov byte [ebp - 0x415], 1
jmp 0x40a4e4
mov ecx, dword [ebp - 0x430]
jmp 0x40a456
mov eax, 0x20
mov word [ebx], ax
lea eax, [ebx + 2]
push dword [esi*8 + 0x46bd40]
push dword [esi*8 + 0x46bd44]
push eax
call fcn.00423850
add esp, 0xc
jmp 0x40a4e4
mov esi, dword [ebp - 0x438]
mov ecx, dword [esi*8 + 0x46bd40]
lea eax, [ecx + 2]
shr eax, 1
lea esi, [ecx + 2]
add esi, edi
mov dword [ebp - 0x41c], esi
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x424], ebx
jmp 0x40a50a
fstp st(1)
fstp st(0)
mov edi, dword ds:[ebp - 0x448]
mov ecx, esi
sub ecx, dword [ebp - 0x450]
mov edx, dword [edi]
test edx, 0xc0000000
je 0x40a5ec
movzx esi, word [edi + 6]
add esi, esi
cmp ecx, esi
jae 0x40a5e6
sub esi, ecx
cmp byte [ebp - 0x415], 0
jne 0x40a5d3
mov eax, dword [ebp - 0x41c]
add eax, esi
cmp dword [ebp + 0xc], eax
jae 0x40a565
mov byte ds:[ebp - 0x415], 1
jmp 0x40a5d3
test dl, dl
jns 0x40a56f
movzx eax, word [edi + 8]
jmp 0x40a574
mov eax, 0x20
mov edi, esi
mov dword [ebp - 0x438], eax
shr edi, 1
test edx, edx
jns 0x40a58e
test edi, edi
je 0x40a5d3
mov ecx, edi
mov edi, ebx
jmp 0x40a5c0
mov eax, ecx
mov edx, ebx
and eax, 0xfffffffe
sub edx, eax
push ecx
push edx
lfence
lea eax, [edx + edi*2]
mov dword [ebp - 0x450], edx
push eax
call fcn.00423850
add esp, 0xc
test edi, edi
je 0x40a5d3
mov eax, dword [ebp - 0x438]
mov ecx, edi
mov edi, dword [ebp - 0x450]
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 eax, esi
shr eax, 1
add dword [ebp - 0x41c], esi
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x424], ebx
mov esi, dword [ebp - 0x41c]
mov edi, dword [ebp - 0xc]
fld qword [ebp - 0x484]
fld qword [ebp - 0x48c]
mov edx, dword [ebp - 0x44c]
test edi, edi
jne 0x40951b
mov cl, byte [ebp - 0x415]
fstp st(1)
fstp st(0)
test cl, cl
jne 0x40a621
lea eax, [esi + 2]
cmp dword [ebp + 0xc], eax
jae 0x40a64b
mov cl, 1
mov eax, dword [ebp - 0x46c]
test eax, eax
je 0x40a630
xor edx, edx
mov word [eax], dx
test cl, cl
mov ecx, dword [ebp - 8]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00420701
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [ebx], ax
jmp 0x40a630