Function at 0x475bc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58476b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov al, byte [ebp + 0x10]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
je 0x475da4
mov eax, dword [esi + 0x8c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
mov eax, dword [eax + 0x1c]
push 0x110a
push eax
call ebx
mov edi, eax
test edi, edi
je 0x475da4
mov eax, dword [esi + 0x8c]
push edi
push 3
push 0x110a
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx + 0x44]
cmp edi, edx
je 0x475cec
cmp edi, dword [ecx + 0x3c]
je 0x475cec
mov ebx, dword [ecx + 0x40]
cmp edi, ebx
je 0x475cec
cmp eax, edx
je 0x475cec
cmp eax, dword [ecx + 0x3c]
je 0x475cec
cmp eax, ebx
je 0x475cec
mov edx, dword [ecx + 0x48]
cmp edi, edx
jne 0x475c88
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x704]
test eax, eax
jg 0x475da7
jmp 0x475ca3
cmp eax, edx
jne 0x475cb9
push edi
call fcn.005646aa
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x704]
cmp ecx, eax
je 0x475da7
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ecx + 0x4c]
cmp edi, edx
jne 0x475cd3
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x394]
test eax, eax
jg 0x475da7
jmp 0x475ca3
cmp eax, edx
jne 0x475da4
push edi
call fcn.005646aa
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x394]
jmp 0x475c9b
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
push edx
push edi
call fcn.00477ef0
mov ecx, dword [esi + 0x8c]
push edi
mov byte [ebp + 0x13], al
call fcn.00477e30
mov dl, byte [ebp + 0x13]
mov ebx, eax
test dl, dl
je 0x475d41
mov ecx, dword [esi + 0x8c]
push edi
call fcn.005646aa
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esi + 0x2b8]
cmp edx, eax
mov dl, byte [ebp + 0x13]
sete cl
mov eax, ecx
jmp 0x475d46
mov esi, dword [ebp + 8]
xor eax, eax
test ebx, ebx
je 0x475d96
mov ecx, 3
cmp ebx, ecx
jne 0x475d59
test eax, eax
jne 0x475d96
jmp 0x475d85
cmp ebx, 1
jne 0x475d70
cmp dword [esi + 0x5cc], ecx
je 0x475d85
test dl, dl
je 0x475d96
test eax, eax
jne 0x475d96
jmp 0x475d85
cmp ebx, 2
jne 0x475d85
cmp dword [esi + 0x5cc], ecx
jne 0x475d85
test dl, dl
je 0x475d96
test eax, eax
jne 0x475d96
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x475ca3
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x475da7
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x390]
xor edi, edi
mov dword [ebp - 0xa4], 5
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edi
mov word [ebp - 0x48], di
lea edx, [ebp - 0x4c]
mov ecx, esi
push edx
mov byte [ebp - 4], 2
call fcn.00527930
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x475df3
mov dword [ebp - 0x90], eax
jmp 0x475dff
lea eax, [ebp - 0x48]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0054e46e
mov edx, dword [ebp - 0x18]
add esp, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov eax, dword [edx + 0x1c]
push ecx
push 0
push 0x104d
push eax
mov dword [ebp - 0x88], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x475efc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x475efc
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
mov cl, byte [esi + 0x2c2]
mov byte [ebp - 4], 3
neg cl
sbb ecx, ecx
and ecx, 0xfde9
mov dword [ebp + 0x10], ecx
lea ecx, [ebp - 0x28]
call fcn.00401070
cmp ebx, edi
je 0x475ed0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x475ed0
mov edx, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edx
call edi
test eax, eax
mov dword [ebp - 0x20], eax
je 0x475ed0
lea eax, [eax + eax + 2]
push eax
call fcn.0056649c
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x475ed7
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
push ecx
push eax
push 0xffffffffffffffff
push ebx
push 0
push edx
call edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x475eda
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1c]
push eax
push 8
push edx
call fcn.004315d0
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [esi + 0x398]
mov edi, dword [esi + 0x39c]
mov ecx, eax
or ecx, edi
je 0x476307
mov dword [ebp - 0x70], 0x59ac38
push 0
mov esi, eax
push 0x400
push edi
push esi
mov byte [ebp - 4], 4
call fcn.0054fde0
mov dword [ebp - 0x14], eax
mov ecx, esi
cdq
mov dword [ebp - 0x34], eax
sub ecx, eax
mov eax, edi
push 0
sbb eax, edx
push 0x400
push eax
push ecx
mov dword [ebp - 0x30], edx
call fcn.0054fd30
mov ebx, eax
and ebx, 0x800003ff
jns 0x475f5f
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, esi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, edi
sbb eax, edx
mov edx, dword [ebp - 0x34]
sub ecx, edx
mov edx, dword [ebp - 0x30]
sbb eax, edx
push 0
push 0x100000
push eax
push ecx
call fcn.0054fd30
and eax, 0x800003ff
jns 0x475f93
dec eax
or eax, 0xfffffc00
inc eax
push 0
push 0x40000000
push edi
push esi
mov dword [ebp - 0x2c], eax
call fcn.0054fd30
lea ecx, [ebp + 0x10]
push 3
push ecx
push 0xe
push 0x400
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x475fe1
mov edi, 0x618b20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
test edi, edi
jne 0x4760ad
cmp esi, 0x3e7
jg 0x4760ad
test esi, esi
jne 0x47606b
cmp ebx, 0x3e7
jg 0x47606b
test ebx, ebx
je 0x47604b
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x63ed78]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x4760e5
mov eax, dword [0x63ed74]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x6c]
push str._d___s
push edx
call fcn.0054ea2a
add esp, 0x10
jmp 0x4760f6
lea ebx, [ebx + ebx*4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [0x63ed7c]
push eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
lea eax, [ebp - 0x6c]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [ebp + 0x10]
push edx
push esi
push str._d_s_02d___s
push eax
jmp 0x4760ee
lea eax, [esi + esi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x63ed80]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push edi
lea edx, [ebp - 0x6c]
push str._d_s_02d___s
push edx
call fcn.0054ea2a
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
push eax
push 3
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00564332
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5cc], 3
je 0x476300
lea edx, [ebp + 0x10]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x476155
mov edi, 0x618b20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3a4]
mov ecx, dword [edi + 0x3a0]
test eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jl 0x4761c9
jg 0x476171
test ecx, ecx
jbe 0x4761c9
fild qword [ebp - 0x34]
fmul dword [0x59c96c]
fild qword [edi + 0x398]
fdivp st(1)
fld st(0)
call fcn.0054e504
mov esi, eax
mov dword [ebp - 0x30], esi
fild dword [ebp - 0x30]
fsubr st(1)
fmul dword [0x59c96c]
call fcn.0054e504
lea ecx, [ebp + 0x10]
push eax
push ecx
push esi
lea edx, [ebp - 0x6c]
push str._d_s_02d__
push edx
fstp st(0)
call fcn.0054ea2a
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
lea eax, [ebp - 0x6c]
push eax
push 4
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00564332
mov eax, dword [edi + 0x3a8]
cmp eax, 0xa
jle 0x476300
mov esi, dword [edi + 0x398]
mov ecx, dword [edi + 0x39c]
mov edx, dword [edi + 0x3a0]
mov edi, dword [edi + 0x3a4]
cmp ecx, edi
jl 0x476300
jg 0x476202
cmp esi, edx
jb 0x476300
mov ebx, esi
or ebx, ecx
je 0x476300
mov dword [ebp - 0x30], 0x59ac38
sub esi, edx
mov byte [ebp - 4], 5
cdq
sbb ecx, edi
push edx
push eax
push ecx
push esi
call fcn.0054fd30
mov esi, edx
mov edi, eax
test esi, esi
jg 0x476243
jl 0x476233
test edi, edi
jae 0x476243
mov edx, dword [0x63ee98]
lea eax, [ebp - 0x6c]
push edx
push eax
jmp 0x4762e6
push 0
push 0x3c
push esi
push edi
call fcn.0054fde0
mov ebx, eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0054fd30
push 0
push 0x3c
push edx
push eax
call fcn.0054fde0
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.0054fd30
test edx, edx
jg 0x4762dd
jl 0x47628d
cmp eax, 0x2710
ja 0x4762dd
test eax, eax
je 0x4762ab
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x63eef0]
push ecx
push eax
lea eax, [ebp - 0x6c]
push edx
push eax
call fcn.0054ea2a
add esp, 0x10
jmp 0x4762ee
mov eax, dword [ebp - 0x14]
push ebx
test eax, eax
je 0x4762c9
mov ecx, dword [0x63eeec]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call fcn.0054ea2a
add esp, 0x10
jmp 0x4762ee
mov eax, dword [0x63eee8]
lea ecx, [ebp - 0x6c]
push eax
push ecx
call fcn.0054ea2a
add esp, 0xc
jmp 0x4762ee
lea edx, [ebp - 0x6c]
push 0x615dcc
push edx
call fcn.0054ea2a
add esp, 8
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
push eax
push 5
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00564332
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x3a4]
test eax, eax
jg 0x476359
jl 0x47631d
mov eax, dword [esi + 0x3a0]
test eax, eax
ja 0x476359
mov eax, dword [esi + 0x6f0]
cmp eax, 0x7565
jne 0x476339
mov edx, dword [0x63ebec]
mov eax, dword [ebp - 0x1c]
push edx
push 4
push eax
jmp 0x476351
cmp eax, 0x7540
je 0x476359
test eax, eax
je 0x476359
mov ecx, dword [0x63ebe4]
mov edx, dword [ebp - 0x1c]
push ecx
push 4
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00564332
lea edx, [esi + 0x64]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x476379
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push edx
push 7
push eax
call fcn.00564332
lea edx, [esi + 0x94]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47639c
mov ecx, dword [ebp - 0x1c]
push edx
push 1
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00564332
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x476673
mov edi, dword [esi + 0x54]
xor eax, eax
cmp edi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov word [ebp - 0x24], ax
je 0x476411
test eax, eax
je 0x476411
push edi
call fcn.0054e46e
add esp, 4
test eax, eax
je 0x476411
mov eax, dword [ebp - 0x28]
cmp eax, edi
ja 0x476411
push eax
call fcn.0054e46e
mov edx, dword [ebp - 0x28]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, edi
jb 0x476411
push edi
lea ecx, [ebp - 0x7c]
call fcn.004034d0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.00403580
push eax
lea ecx, [ebp - 0x28]
call fcn.00402b60
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x47645a
lea ecx, [ebp - 0x28]
call fcn.00401070
test edi, edi
je 0x47645a
push edi
call fcn.0054e46e
add esp, 4
test eax, eax
je 0x47645a
push edi
call fcn.0054e46e
lea ecx, [eax + eax + 2]
push ecx
call fcn.0056649c
add esp, 8
mov dword [ebp - 0x28], eax
test eax, eax
je 0x47645a
push edi
call fcn.0054e46e
mov edx, dword [ebp - 0x28]
push edi
push edx
mov dword [ebp - 0x20], eax
call fcn.0054e449
add esp, 0xc
mov eax, dword [0x63e51c]
mov byte [ebp - 4], 7
test eax, eax
je 0x476644
mov eax, dword [0x63e3d0]
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x47647e
mov dword [ebp + 0x10], 0x63e3d4
mov edi, dword [0x63e3e0]
test edi, edi
jne 0x47648d
mov edi, 0x63e3e4
test edi, edi
mov dword [ebp - 0x30], edi
je 0x476644
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x476644
push eax
push edi
call fcn.0054e52b
add esp, 8
test eax, eax
je 0x476644
mov ecx, dword [ebp - 0x28]
push edi
push ecx
call fcn.0054e877
add esp, 8
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x4764e2
push edi
inc esi
call fcn.0054e46e
lea eax, [ebx + eax*2]
push edi
push eax
call fcn.0054e877
add esp, 0xc
mov ebx, eax
jmp 0x4764c6
test esi, esi
je 0x476644
mov edx, dword [ebp - 0x28]
xor eax, eax
push edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
call fcn.00402b60
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 8
push eax
call fcn.0054e46e
push edi
mov ebx, eax
call fcn.0054e46e
add esp, 8
cmp ebx, eax
jbe 0x476574
lea ecx, [ebp - 0x28]
call fcn.00401070
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x476532
mov dword [ebp - 0x14], eax
jmp 0x476538
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054e46e
push edi
mov ebx, eax
call fcn.0054e46e
sub ebx, eax
mov eax, dword [ebp - 0x14]
push eax
imul ebx, esi
call fcn.0054e46e
add ebx, eax
lea ecx, [ebx + ebx + 2]
push ecx
call fcn.0056649c
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x28], ebx
jne 0x476577
jmp 0x476638
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x476581
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 0x2c], eax
call fcn.0054e877
add esp, 8
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4765fb
mov esi, dword [ebp - 0x2c]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0054e46e
mov ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0054e46e
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.0054e46e
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x2c], eax
call fcn.0054e877
add esp, 0x14
jmp 0x47658e
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0054e46e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0054e46e
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0054e46e
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x47664e
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push edx
push 9
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.004315d0
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401070
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x47668d
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
push eax
push 0xa
push ebx
mov ecx, edi
call fcn.00564332
jmp 0x476693
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp dword [esi + 0x5cc], 3
jne 0x4766ad
mov edx, dword [0x63ef1c]
mov ecx, edi
push edx
push 4
push ebx
call fcn.00564332
mov al, byte [ebp + 0xc]
test al, al
je 0x4766da
test ebx, ebx
jl 0x4766da
push 8
call fcn.0056649c
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], edi
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
push 0x475100
call fcn.0056a772
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc