Function at 0x4093a0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x468
mov eax, dword [0x46d040]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
mov eax, edx
xor ebp, ebp
mov edx, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x474]
mov ebx, ecx
test ecx, ecx
mov dword [esp + 0x5c], ecx
push esi
sete cl
mov dword [esp + 0x44], edx
test byte [0x46dd28], 1
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
mov byte [esp + 0x13], cl
jne 0x4094f5
mov edi, 0x46dd28
lock bts dword ds:[edi], 0x1f
setb al
test al, al
jne 0x4094d8
push 4
lea eax, [esp + 0x6c]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [eax]
test eax, eax
je 0x40943b
mov ax, word [esp + 0x68]
test ax, ax
je 0x40943b
cmp word [esp + 0x6a], bp
jne 0x40943b
mov word [0x46dd30], ax
push 4
lea eax, [esp + 0x6c]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40946d
mov ax, word [esp + 0x68]
test ax, ax
je 0x40946d
nop dword [eax]
cmp word [esp + 0x6a], bp
jne 0x40946d
mov word [0x46dd78], ax
cmp word [0x46dd30], 0x2e
je 0x40948d
push 0x46542c
push 0
call fcn.0042981b
add esp, 8
mov dword [0x46ee54], eax
lock bts dword [edi], 0
setb al
test al, al
jne 0x4094e9
mov esi, dword [0x46dd2c]
nop
test esi, esi
je 0x4094ad
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
lock xadd dword [edi], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x4094e9
test esi, esi
je 0x4094e9
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x46dd2c], ebp
jmp 0x4094e9
test byte [0x46dd28], 1
nop
jne 0x4094f1
mov ecx, edi
call fcn.004152c0
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], 3
nop dword [eax]
mov esi, dword [esp + 0x480]
mov edi, edx
dec eax
mov dword [esp + 0x38], edi
add edx, 0x18
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov edx, dword [edi]
mov eax, edx
and eax, 0x3f
mov dword [esp + 0x68], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edx
cmp eax, 0xd
ja case.default.0x409540
nop dword [eax]
jmp dword [eax*4 + 0x40a720]
test cl, cl
jne 0x40956c
lea eax, [ebp + 2]
cmp esi, eax
jae 0x409565
add ebx, 2
mov byte [esp + 0x13], 1
add ebp, 2
jmp 0x40a5d4
mov ax, word [edi + 0x10]
mov word [ebx], ax
add ebx, 2
add ebp, 2
jmp 0x40a5d4
test cl, cl
jne 0x4095a2
mov ecx, dword [edi + 0x10]
lea eax, [ecx + ebp]
cmp esi, eax
jae 0x409595
mov eax, ecx
mov byte [esp + 0x13], 1
shr eax, 1
add ebp, ecx
jmp 0x40a5d1
push ecx
push dword [edi + 0x14]
push ebx
call fcn.00423550
add esp, 0xc
mov eax, dword [edi + 0x10]
shr eax, 1
add ebp, dword [edi + 0x10]
jmp 0x40a5d1
mov ecx, dword [edi + 0x10]
call fcn.00406960
cmp byte ds:[esp + 0x13], 0
mov esi, eax
jne 0x4095f2
lea edx, [esi + esi]
lea ecx, [edx + ebp]
cmp dword [esp + 0x480], ecx
jae 0x4095e5
lea eax, ds:[esi + esi]
mov byte [esp + 0x13], 1
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
push edx
push dword [edi + 0x10]
push ebx
call fcn.00423550
add esp, 0xc
lea eax, [esi + esi]
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
nop
cmp edx, 3
jne 0x409611
mov eax, dword [esp + 0x38]
mov edi, dword [edi + 0x14]
mov esi, dword [eax + 0x10]
jmp 0x409629
mov edi, dword [edi + 0x10]
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x409620
sub esi, ecx
push esi
push edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js case.default.0x409540
cmp byte [esp + 0x13], 0
jne 0x40967c
mov ecx, dword [esp + 0x58]
lea eax, [ecx + ebp]
cmp dword [esp + 0x480], eax
jae 0x409665
mov eax, ecx
mov byte [esp + 0x13], 1
shr eax, 1
add ebp, ecx
jmp 0x40a5d1
push esi
push edi
push 0
push ecx
push ebx
lfence
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js case.default.0x409540
mov ecx, dword [esp + 0x58]
mov eax, ecx
shr eax, 1
add ebp, ecx
jmp 0x40a5d1
mov ecx, 0x10
mov eax, edi
mov eax, dword [ecx + eax]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x18], ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x34]
jmp 0x4096ae
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], 0xa
test edx, 0x100
je 0x4096d0
mov al, byte [edi + 0xa]
cmp al, 2
jb 0x4096d0
cmp al, 0x45
ja 0x4096d0
movzx eax, al
mov dword [esp + 0x1c], eax
test edx, 0x20000000
lea ebp, [esp + 0x46e]
mov esi, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
mov eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
cmovne esi, eax
xor edi, edi
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x409792
nop dword [eax + eax]
test edx, 0x10000
je 0x40976f
xor esi, esi
nop word [eax + eax]
mov eax, ecx
xor edx, edx
div dword [esp + 0x1c]
inc edi
inc esi
mov ecx, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x24]
movsx ax, byte [eax + edx]
mov word [ebp], ax
sub ebp, 2
cmp esi, 3
jne 0x409769
test ecx, ecx
je 0x4097af
movzx eax, word [0x46dd78]
xor edx, edx
mov word [ebp], ax
mov esi, 1
mov eax, ecx
div dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x24]
movsx eax, byte [edx + eax]
mov word [ebp - 2], ax
add ebp, 0xfffffffc
add edi, 2
mov dword [esp + 0x28], edi
test ecx, ecx
jne 0x409710
jmp 0x4097af
mov ebx, dword [esp + 0x1c]
mov eax, ecx
xor edx, edx
div ebx
inc edi
mov ecx, eax
movsx ax, byte [esi + edx]
mov word [ebp], ax
sub ebp, 2
test ecx, ecx
jne 0x409773
mov ebx, dword [esp + 0x20]
jmp 0x4097ab
mov eax, 0x30
lea ebp, [esp + 0x46c]
mov word [esp + 0x46e], ax
mov edi, 1
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov esi, dword [esp + 0x34]
test edx, edx
je 0x4097c4
mov ecx, 1
jmp 0x4097d2
test esi, 0x20000
mov eax, 1
cmovne ecx, eax
mov eax, esi
mov dword [esp + 0x30], ecx
and eax, 0x50000
cmp eax, 0x40000
jne 0x40980d
mov eax, dword [esp + 0x38]
movzx edx, word [eax + 6]
lea eax, [ecx + edi]
cmp eax, edx
jae 0x409809
or dword [esp + 0x18], 4
sub edx, ecx
sub edx, edi
add ecx, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
add ebp, 2
cmp byte [esp + 0x13], 0
jne 0x40989e
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*2]
cmp dword [esp + 0x480], eax
jae 0x409845
mov eax, dword ds:[esp + 0x30]
mov ebp, ecx
add eax, edi
mov byte [esp + 0x13], 1
lea ebp, [ebp + eax*2]
jmp 0x40a5d8
test dl, 1
je 0x409851
mov eax, 0x2d
jmp 0x40985e
test esi, 0x20000
je 0x409864
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
test dl, 4
je 0x40988a
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x409887
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 [esp + 0x28]
lea ebx, [ebx + edx*2]
lea esi, [edi + edi]
push esi
push ebp
push ebx
call fcn.00423550
add esp, 0xc
add ebx, esi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
add eax, edi
lea ebp, [ebp + eax*2]
jmp 0x40a5d8
mov eax, dword ds:[edi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test eax, eax
jg 0x4098f0
jl 0x4098ca
test ecx, ecx
jae 0x4098f0
neg ecx
adc eax, 0
neg eax
mov dword [esp + 0x28], eax
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x4098ec
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], 0
mov esi, 0xa
mov dword [esp + 0x40], esi
test edx, 0x100
je 0x40993e
mov al, byte [edi + 0xa]
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], 0
cmp al, 2
jb 0x40993e
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], 0
cmp al, 0x45
ja 0x40993e
movzx eax, al
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
test edx, 0x20000000
lea ebp, [esp + 0x46e]
mov edx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmovne eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
xor edi, edi
mov eax, ecx
or eax, edx
je 0x409a5a
test dword [esp + 0x34], 0x10000
je 0x409a08
xor eax, eax
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
push esi
push edx
push ecx
call fcn.0043f3b0
push dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x2c]
push dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0043f340
mov dword [esp + 0x3c], eax
inc edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edi
movsx cx, byte [eax + esi]
mov eax, dword [esp + 0x24]
inc eax
mov word [ebp], cx
sub ebp, 2
mov ecx, dword [esp + 0x3c]
cmp eax, 3
jne 0x4099ee
mov eax, ecx
or eax, edx
je 0x409a77
mov ax, word [0x46dd78]
mov esi, dword [esp + 0x40]
mov word [ebp], ax
sub ebp, 2
inc edi
jmp 0x40997a
mov esi, dword ds:[esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, ecx
or eax, edx
mov dword [esp + 0x30], edi
jne 0x409980
jmp 0x409a77
mov ebx, dword [esp + 0x1c]
nop dword [eax]
push ebx
push esi
push edx
push ecx
call fcn.0043f3b0
push ebx
push dword [esp + 0x44]
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0043f340
mov ecx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x2c]
inc edi
mov dword [esp + 0x3c], ecx
movsx ax, byte [eax + esi]
mov esi, dword [esp + 0x40]
mov word [ebp], ax
mov eax, ecx
sub ebp, 2
or eax, edx
jne 0x409a10
mov ebx, dword [esp + 0x20]
jmp 0x409a73
mov eax, 0x30
lea ebp, [esp + 0x46c]
mov word [esp + 0x46e], ax
mov edi, 1
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov esi, dword [esp + 0x34]
test edx, edx
je 0x409a8c
mov ecx, 1
jmp 0x409a9a
test esi, 0x20000
mov eax, 1
cmovne ecx, eax
mov eax, esi
mov dword [esp + 0x24], ecx
and eax, 0x50000
cmp eax, 0x40000
jne 0x409ad2
mov eax, dword [esp + 0x38]
movzx edx, word [eax + 6]
lea eax, [ecx + edi]
cmp eax, edx
jae 0x409ace
or dword [esp + 0x18], 4
sub edx, ecx
sub edx, edi
add ecx, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x18]
add ebp, 2
cmp byte [esp + 0x13], 0
jne 0x409b71
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*2]
cmp dword [esp + 0x480], eax
jae 0x409b0f
mov eax, dword [esp + 0x24]
mov ebp, ecx
add eax, edi
mov byte [esp + 0x13], 1
lea ebp, [ebp + eax*2]
jmp 0x40a5d8
test dl, 1
je 0x409b1b
mov eax, 0x2d
jmp 0x409b2d
nop dword [eax + eax]
test esi, 0x20000
je 0x409b33
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
test dl, 4
je 0x409b5d
mov edx, dword ds:[esp + 0x60]
test edx, edx
je 0x409b5a
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 [esp + 0x30]
lea ebx, [ebx + edx*2]
lea esi, [edi + edi]
push esi
push ebp
push ebx
call fcn.00423550
add esp, 0xc
add ebx, esi
mov dword [esp + 0x20], ebx
mov eax, dword ds:[esp + 0x24]
mov ebp, dword [esp + 0x14]
add eax, edi
lea ebp, [ebp + eax*2]
jmp 0x40a5d8
mov dword [esp + 0x18], 0
test dl, 0x40
je 0x409ba5
movzx edx, word [edi + 4]
cmp edx, 0xa2
jbe 0x409baa
mov edx, 0xa2
jmp 0x409baa
mov edx, 6
mov esi, dword ds:[esp + 0x34]
lea ebp, [esp + 0x71]
movss xmm0, dword [edi + 0x10]
sub esp, 8
mov eax, ebp
mov ecx, esi
push eax
call fcn.0041a2a0
test al, al
jne 0x409bcf
mov byte [esp + 0x71], al
jmp 0x409c28
mov edx, dword [0x46ee54]
test edx, edx
je 0x409bfa
mov al, byte [esp + 0x71]
lea ecx, [esp + 0x71]
test al, al
je 0x409bfa
cmp al, 0x2e
je 0x409bf3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409be5
jmp 0x409bfa
mov al, byte [0x46dd30]
mov byte [ecx], al
nop word [eax + eax]
test esi, 0x20000000
je 0x409c28
lea eax, [esp + 0x71]
test edx, edx
je 0x409c1c
push edx
push eax
call fcn.00428fb7
add esp, 8
jmp 0x409c28
push eax
call fcn.00428f5b
add esp, 4
mov edi, dword [edi]
test edi, 0x8000
je 0x409c9e
mov al, byte [esp + 0x71]
lea ecx, [esp + 0x71]
mov ah, byte [0x46dd30]
test al, al
je 0x409c54
cmp al, ah
je 0x409c54
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409c48
mov al, byte [ecx]
inc ecx
test al, al
je 0x409c9e
mov al, byte ds:[ecx]
test al, al
je 0x409c74
cmp al, 0x65
je 0x409c74
cmp al, 0x45
je 0x409c74
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409c64
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x409c88
nop
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x409c80
cmp al, ah
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte [esi]
lea edx, [edx + 1]
mov byte [edx], al
lea esi, [esi + 1]
test al, al
jne 0x409c90
lea esi, [esp + 0x71]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409ca5
sub esi, ecx
cmp byte [esp + 0x71], 0x2d
jne 0x409cc2
mov edx, 1
lea ebp, [esp + 0x72]
dec esi
jmp 0x409cd4
mov edx, dword [esp + 0x18]
test edi, 0x20000
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x18], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x409e27
mov al, byte [ebp]
mov edi, ebp
sub al, 0x30
cmp al, 0xa
jae 0x409d04
mov al, byte ds:[edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x409cf6
mov eax, edi
sub eax, ebp
mov dword [esp + 0x1c], eax
lea edx, [eax + 2]
mov dword [esp + 0x24], edx
je 0x409d27
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
mov edx, dword [esp + 0x24]
shr eax, 1
dec eax
jmp 0x409d29
xor eax, eax
mov dword [esp + 0x2c], eax
add eax, esi
add eax, eax
cmp dword [esp + 0x18], 0
lea ecx, [eax + 2]
cmove ecx, eax
cmp byte [esp + 0x13], 0
jne 0x409d65
mov eax, dword [esp + 0x14]
add eax, ecx
cmp dword [esp + 0x480], eax
jae 0x409d65
mov eax, dword ds:[esp + 0x1c]
mov dl, 1
mov byte [esp + 0x13], dl
jmp 0x409dea
mov ecx, dword [esp + 0x1c]
mov eax, edx
xor edx, edx
div dword [esp + 0x54]
cmp byte [esp + 0x13], 0
jne 0x409de2
mov eax, dword [esp + 0x18]
test al, 1
je 0x409d8b
mov eax, 0x2d
jmp 0x409d94
test al, 2
je 0x409d9e
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409de6
movsx ax, byte [ebp]
dec ecx
inc ebp
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x409dda
test ecx, ecx
je 0x409dde
movzx eax, word [0x46dd78]
dec ecx
mov word [ebx], ax
mov edx, 1
movsx eax, byte [ebp]
mov word [ebx + 2], ax
add ebx, 4
inc ebp
test ecx, ecx
jne 0x409da6
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x13]
cmp dword [esp + 0x18], 0
mov ebp, dword [esp + 0x14]
je 0x409df8
add ebp, 2
add eax, dword [esp + 0x2c]
sub esi, dword [esp + 0x1c]
lea ebp, [ebp + eax*2]
mov dword [esp + 0x14], ebp
test dl, dl
jne case.default.0x409540
push ebx
mov edx, esi
mov ecx, edi
call fcn.004072a0
lea eax, [esi + esi]
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x409e59
mov eax, dword [esp + 0x38]
movzx edi, word [eax + 6]
lea eax, [esi + ecx]
cmp eax, edi
jae 0x409e59
or dword [esp + 0x18], 4
sub edi, esi
sub edi, ecx
mov dword [esp + 0x4c], edi
lea edx, [edi + ecx]
jmp 0x409e5d
mov edi, dword [esp + 0x4c]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x409ee6
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
cmp dword [esp + 0x480], eax
jae 0x409e8c
mov ebp, ecx
mov byte [esp + 0x13], 1
lea ebp, [ebp + edx*2]
jmp 0x40a5d8
mov eax, dword [esp + 0x18]
test al, 1
je 0x409e9b
mov edi, 0x2d
jmp 0x409ea4
test al, 2
je 0x409eb2
mov edi, 0x2b
mov word [ebx], di
add ebx, 2
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
test al, 4
je 0x409ee2
test edi, edi
je 0x409ed4
mov ecx, edi
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 [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea ecx, ds:[ecx + edx*2]
lea ebx, [ebx + edi*2]
mov dword [esp + 0x14], ecx
jmp 0x409ef5
mov al, byte [esp + 0x13]
lea ecx, [ecx + edx*2]
mov dword [esp + 0x14], ecx
test al, al
jne 0x40a29a
push ebx
mov edx, esi
mov ecx, ebp
call fcn.004072a0
mov ebp, dword [esp + 0x14]
lea eax, [esi + esi]
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
mov dword [esp + 0x18], 0
test dl, 0x40
je 0x409f30
movzx edx, word [edi + 4]
cmp edx, 0xa2
jbe 0x409f35
mov edx, 0xa2
jmp 0x409f35
mov edx, 6
movsd xmm0, qword [edi + 0x10]
lea ebp, [esp + 0x71]
mov esi, dword [esp + 0x34]
sub esp, 0x10
mov eax, ebp
mov ecx, esi
movsd qword [esp + 8], xmm0
push eax
call fcn.0041a4c0
test al, al
jne 0x409f5f
mov byte [esp + 0x71], al
jmp 0x409fb3
mov edx, dword [0x46ee54]
test edx, edx
je 0x409f8d
mov al, byte [esp + 0x71]
lea ecx, [esp + 0x71]
test al, al
je 0x409f8d
cmp al, 0x2e
je 0x409f86
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x409f75
jmp 0x409f8d
mov al, byte [0x46dd30]
mov byte [ecx], al
test esi, 0x20000000
je 0x409fb3
lea eax, [esp + 0x71]
test edx, edx
je 0x409faa
push edx
push eax
call fcn.00428fb7
add esp, 8
jmp 0x409fb3
push eax
call fcn.00428f5b
add esp, 4
mov edi, dword ds:[edi]
test edi, 0x8000
je 0x40a03e
mov al, byte [esp + 0x71]
lea ecx, [esp + 0x71]
mov ah, byte [0x46dd30]
test al, al
je 0x409fec
nop
cmp al, ah
je 0x409fec
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409fe0
mov al, byte [ecx]
inc ecx
test al, al
je 0x40a03e
mov al, byte [ecx]
test al, al
je 0x40a010
nop dword [eax]
cmp al, 0x65
je 0x40a010
cmp al, 0x45
je 0x40a010
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a000
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x40a028
nop word [eax + eax]
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x40a020
cmp al, ah
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte [esi]
lea edx, [edx + 1]
mov byte [edx], al
lea esi, [esi + 1]
test al, al
jne 0x40a030
lea esi, [esp + 0x71]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a045
sub esi, ecx
cmp byte [esp + 0x71], 0x2d
jne 0x40a062
mov edx, 1
lea ebp, [esp + 0x72]
dec esi
jmp 0x40a074
mov edx, dword [esp + 0x18]
test edi, 0x20000
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x18], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x40a191
mov al, byte [ebp]
mov edi, ebp
sub al, 0x30
cmp al, 0xa
jae 0x40a0a4
mov al, byte ds:[edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x40a096
mov eax, edi
sub eax, ebp
mov dword [esp + 0x1c], eax
lea edx, [eax + 2]
mov dword [esp + 0x24], edx
je 0x40a0c7
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
mov edx, dword [esp + 0x24]
shr eax, 1
dec eax
jmp 0x40a0c9
xor eax, eax
mov dword [esp + 0x2c], eax
add eax, esi
add eax, eax
cmp dword [esp + 0x18], 0
lea ecx, [eax + 2]
cmove ecx, eax
cmp byte [esp + 0x13], 0
jne 0x40a105
mov eax, dword [esp + 0x14]
add eax, ecx
cmp dword [esp + 0x480], eax
jae 0x40a105
mov eax, dword ds:[esp + 0x1c]
mov dl, 1
mov byte [esp + 0x13], dl
jmp 0x409dea
mov ecx, dword [esp + 0x1c]
mov eax, edx
xor edx, edx
div dword [esp + 0x54]
cmp byte [esp + 0x13], 0
jne 0x409de2
mov eax, dword [esp + 0x18]
test al, 1
je 0x40a12b
mov eax, 0x2d
jmp 0x40a134
test al, 2
je 0x40a13e
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409de6
nop word [eax + eax]
movsx ax, byte [ebp]
dec ecx
inc ebp
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x40a188
test ecx, ecx
je 0x409dde
movzx eax, word [0x46dd78]
dec ecx
mov word [ebx], ax
mov edx, 1
movsx eax, byte [ebp]
mov word [ebx + 2], ax
add ebx, 4
inc ebp
test ecx, ecx
jne 0x40a150
jmp 0x409dde
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x40a1c9
mov eax, dword [esp + 0x38]
movzx edi, word [eax + 6]
lea eax, [esi + ecx]
cmp eax, edi
jae 0x40a1c9
or dword [esp + 0x18], 4
sub edi, esi
sub edi, ecx
mov dword [esp + 0x50], edi
lea edx, [edi + ecx]
jmp 0x40a1cd
mov edi, dword [esp + 0x50]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x40a274
lea eax, [edx + esi]
lea eax, [ecx + eax*2]
cmp dword [esp + 0x480], eax
jae 0x40a1fc
mov ebp, ecx
mov byte [esp + 0x13], 1
lea ebp, [ebp + edx*2]
jmp 0x40a5d8
mov eax, dword [esp + 0x18]
test al, 1
je 0x40a212
mov ecx, 0x2d
mov word [ebx], cx
mov ecx, dword [esp + 0x14]
jmp 0x40a222
test al, 2
je 0x40a229
mov edi, 0x2b
mov word [ebx], di
mov edi, dword [esp + 0x50]
add ebx, 2
mov dword [esp + 0x20], ebx
test al, 4
je 0x40a270
test edi, edi
je 0x40a24b
mov ecx, edi
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 [esp + 0x14]
mov edi, dword [esp + 0x50]
lea ecx, [ecx + edx*2]
mov edx, esi
lea ebx, [ebx + edi*2]
mov dword [esp + 0x14], ecx
push ebx
mov ecx, ebp
call fcn.004072a0
mov ebp, dword [esp + 0x14]
lea eax, [esi + esi]
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
mov al, byte [esp + 0x13]
lea ecx, [ecx + edx*2]
mov dword [esp + 0x14], ecx
test al, al
jne 0x40a29a
push ebx
mov edx, esi
mov ecx, ebp
call fcn.004072a0
mov ebp, dword [esp + 0x14]
lea eax, [esi + esi]
lea ebx, [ebx + esi*2]
add ebp, eax
jmp 0x40a5d4
mov ebp, dword ds:[esp + 0x14]
jmp case.default.0x409540
mov eax, dword [esp + 0x38]
xor ebp, ebp
mov edi, dword [edi + 0x10]
mov ecx, edi
mov dword [esp + 0x24], ebp
mov esi, dword [eax + 0x14]
mov edx, esi
call fcn.00440cc0
or edi, esi
jne 0x40a2fc
cmp byte [esp + 0x13], 0
mov ebp, dword [esp + 0x14]
jne 0x40a2f1
lea eax, [ebp + 2]
cmp dword [esp + 0x480], eax
jae 0x40a2e9
add ebx, 2
mov byte [esp + 0x13], 1
add ebp, 2
jmp 0x40a5d4
mov eax, 0x30
mov word [ebx], ax
add ebx, 2
add ebp, 2
jmp 0x40a5d4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
test ecx, 0x100
je 0x40a312
movzx eax, byte [edx + 0xa]
jmp 0x40a315
or eax, 0xffffffff
movsd xmm1, qword [0x46a2b8]
comisd xmm0, xmm1
jb 0x40a348
movsd xmm2, qword [0x46a2a8]
nop dword [eax + eax]
cmp ebp, 7
jae 0x40a344
cmp ebp, eax
jae 0x40a344
mulsd xmm0, xmm2
inc ebp
comisd xmm0, xmm1
jae 0x40a330
mov dword [esp + 0x24], ebp
test cl, 0x40
je 0x40a353
movzx eax, word [edx + 4]
jmp 0x40a358
mov eax, 2
movzx edx, ax
lea edi, [esp + 0x71]
cmp edx, 0xa2
mov dword [esp + 0x30], 0
mov eax, 0xa2
mov ecx, 0x1804c
cmova edx, eax
sub esp, 0x10
mov eax, edi
movsd qword [esp + 8], xmm0
push eax
call fcn.0041a4c0
test al, al
jne 0x40a397
xor dl, dl
mov byte [esp + 0x71], dl
jmp 0x40a3ca
cmp dword [0x46ee54], 0
mov dl, byte [esp + 0x71]
je 0x40a3ca
lea ecx, [esp + 0x71]
test dl, dl
je 0x40a3ca
mov al, dl
nop
cmp al, 0x2e
je 0x40a3be
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a3b0
jmp 0x40a3ca
mov ax, word [0x46dd30]
mov byte [ecx], al
mov dl, byte [esp + 0x71]
lea ecx, [esp + 0x71]
test dl, dl
je 0x40a3e4
mov al, dl
cmp al, byte [0x46dd30]
je 0x40a3e4
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40a3d4
mov al, byte [ecx]
inc ecx
test al, al
je 0x40a436
mov al, byte [ecx]
test al, al
je 0x40a404
cmp al, 0x65
je 0x40a404
cmp al, 0x45
je 0x40a404
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x40a3f1
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x40a418
nop
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x40a410
cmp al, byte [0x46dd30]
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte [esi]
lea edx, [edx + 1]
mov byte [edx], al
lea esi, [esi + 1]
test al, al
jne 0x40a424
mov dl, byte [esp + 0x71]
lea esi, [esp + 0x71]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a440
sub esi, ecx
cmp dl, 0x2d
jne 0x40a45b
mov dword [esp + 0x30], 1
lea edi, [esp + 0x72]
dec esi
mov al, byte [edi]
mov ebp, edi
sub al, 0x30
cmp al, 0xa
jae 0x40a46f
mov al, byte [ebp + 1]
inc ebp
sub al, 0x30
cmp al, 0xa
jb 0x40a465
mov eax, ebp
sub eax, edi
mov dword [esp + 0x1c], eax
lea edx, [eax + 2]
mov dword [esp + 0x28], edx
je 0x40a494
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
mov edx, dword [esp + 0x28]
shr eax, 1
dec eax
jmp 0x40a496
xor eax, eax
mov dword [esp + 0x2c], eax
add eax, esi
add eax, eax
cmp dword [esp + 0x30], 0
lea ecx, [eax + 2]
cmove ecx, eax
cmp byte [esp + 0x13], 0
jne 0x40a4ce
mov eax, dword [esp + 0x14]
add eax, ecx
cmp dword [esp + 0x480], eax
jae 0x40a4ce
mov eax, dword [esp + 0x1c]
mov dl, 1
mov byte [esp + 0x13], dl
jmp 0x40a542
mov ecx, dword ds:[esp + 0x1c]
mov eax, edx
xor edx, edx
div dword [esp + 0x54]
cmp byte [esp + 0x13], 0
jne 0x40a53a
cmp dword [esp + 0x30], 0
je 0x40a4f8
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword ds:[esp + 0x1c]
test eax, eax
je 0x40a53e
movsx ax, byte [edi]
dec ecx
inc edi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x40a536
test ecx, ecx
je 0x40a53a
movzx eax, word [0x46dd78]
dec ecx
mov word [ebx], ax
mov edx, 1
movsx eax, byte [edi]
mov word [ebx + 2], ax
add ebx, 4
inc edi
test ecx, ecx
jne 0x40a504
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x13]
cmp dword [esp + 0x30], 0
je 0x40a54e
add dword [esp + 0x14], 2
add eax, dword ds:[esp + 0x2c]
mov ecx, dword [esp + 0x14]
sub esi, dword [esp + 0x1c]
lea edi, [ecx + eax*2]
test dl, dl
jne 0x40a5bc
push ebx
mov edx, esi
mov ecx, ebp
call fcn.004072a0
lea edi, [edi + esi*2]
lea ebx, [ebx + esi*2]
mov esi, dword [esp + 0x24]
mov eax, dword [esi*8 + 0x46dd40]
add eax, 2
add eax, edi
cmp dword [esp + 0x480], eax
jae 0x40a598
mov byte [esp + 0x13], 1
jmp 0x40a5c0
mov eax, 0x20
mov word [ebx], ax
lea eax, [ebx + 2]
push dword [esi*8 + 0x46dd40]
push dword [esi*8 + 0x46dd44]
push eax
call fcn.00423550
add esp, 0xc
jmp 0x40a5c0
mov esi, dword [esp + 0x24]
mov ecx, dword [esi*8 + 0x46dd40]
lea eax, [ecx + 2]
lea ebp, [ecx + 2]
shr eax, 1
add ebp, edi
lea ebx, [ebx + eax*2]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x38]
mov ecx, ebp
sub ecx, dword [esp + 0x68]
mov edx, dword [edi]
test edx, 0xc0000000
je 0x40a6c3
movzx esi, word ds:[edi + 6]
add esi, esi
cmp ecx, esi
jae 0x40a6c3
sub esi, ecx
cmp byte [esp + 0x13], 0
jne 0x40a6b2
lea eax, ds:[esi + ebp]
cmp dword [esp + 0x480], eax
jae 0x40a633
mov byte [esp + 0x13], 1
jmp 0x40a6b2
test dl, dl
jns 0x40a63d
movzx eax, word [edi + 8]
jmp 0x40a642
mov eax, 0x20
mov edi, esi
mov dword [esp + 0x2c], eax
shr edi, 1
test edx, edx
jns 0x40a66f
test edi, edi
je 0x40a6b2
movzx edx, ax
mov ecx, edi
mov eax, edx
mov edi, ebx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x40a6b2
mov eax, ecx
mov ebp, ebx
and eax, 0xfffffffe
sub ebp, eax
lea eax, [edi*2]
push ecx
add eax, ebp
push ebp
push eax
lfence
call fcn.00423550
add esp, 0xc
test edi, edi
je 0x40a6ae
mov eax, dword [esp + 0x2c]
mov ecx, edi
movzx edx, ax
mov edi, ebp
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 ebp, dword [esp + 0x14]
mov eax, esi
shr eax, 1
add ebp, esi
mov dword [esp + 0x14], ebp
lea ebx, [ebx + eax*2]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov cl, byte [esp + 0x13]
test eax, eax
jne 0x409500
test cl, cl
jne 0x40a6eb
lea eax, ss:[ebp + 2]
cmp dword [esp + 0x480], eax
jae 0x40a718
mov cl, 1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40a6f8
xor edx, edx
mov word [eax], dx
pop edi
test cl, cl
mov ecx, dword [esp + 0x470]
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.00421733
add esp, 0x468
ret 0xc
xor eax, eax
mov word [ebx], ax
jmp 0x40a6f8