Function at 0x46fd50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x58b18c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
call dword [sym.imp.USER32.dll_IsGUIThread]
push 0
push 0xf030
push 0x112
push dword [0x598c04]
call dword [sym.imp.USER32.dll_SendMessageA]
push 3
push dword [0x598c04]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x598c04]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 0x5994c0
call fcn.0040f5c0
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
mov edx, str.3Started_importing_geological_data_from_1geo.dat_3file._n
call fcn.004b4380
mov ecx, dword [0x598f70]
mov eax, closesocket
sub eax, ecx
add esp, 0x14
cmp eax, 0x15
jb 0x47077d
cmp dword [0x598f74], 0x10
mov eax, 0x598f60
push 0x15
cmovae eax, dword [0x598f60]
push str.pluginsgeoIPgeo.dat
push ecx
push eax
push 0x598f60
push dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.004196c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
mov ecx, 0x599944
cmovae edx, dword [ebp - 0x90]
call fcn.004a9930
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
mov edx, str.2Finished_importing_geological_data_from_1geo.dat_2file._n
call fcn.004b4380
mov eax, dword [esi]
add esp, 0x14
mov dword [ebp - 0x178], 0
mov eax, dword [eax]
cmp dword [eax + 0x98], 0x10
lea ecx, [eax + 0x84]
jb 0x46fe87
mov ecx, dword [eax + 0x84]
push dword [eax + 0x94]
push ecx
lea ecx, [ebp - 0x178]
call fcn.0048cb80
mov ecx, dword [esi]
add esp, 8
mov ecx, dword [ecx]
add ecx, 0x84
test al, al
je 0x46ffe1
push 0x2b
mov edx, ecx
lea ecx, [ebp - 0x34]
push str.5Your_current_external_IP_address_is_1_n
call fcn.00417bf0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x46fece
mov eax, dword [eax]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
mov edx, eax
call fcn.004b4380
mov byte [ebp - 4], 0
add esp, 0x14
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x46ff1e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ff14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470782
push ecx
push edx
call fcn.004f79ae
add esp, 8
sub esp, 0x18
lea ecx, [ebp - 0x170]
call fcn.0042b7b0
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax]
cmp dword [eax + 0x98], 0x10
lea ecx, [eax + 0x84]
jb 0x46ff49
mov ecx, dword [eax + 0x84]
push dword [eax + 0x94]
lea edx, [ebp - 0x170]
push ecx
mov ecx, 0x599944
call fcn.0048cf90
mov eax, dword [esi]
lea edx, [ebp - 0xe4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xe8]
mov dword [ecx + 0x50], eax
lea eax, [ebp - 0xdc]
push eax
push 6
push 0x5634c8
lea ecx, [ebp - 0x34]
call fcn.00417c70
add esp, 0x14
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
add ecx, 0x9c
call fcn.00414d90
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x46ffd0
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ffc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470787
push ecx
push edx
call fcn.004f79ae
add esp, 8
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.0042ba50
jmp 0x47000e
push 3
push 0x5634d0
call fcn.00415ea0
mov eax, dword [esi]
push 3
push 0x5634d0
mov ecx, dword [eax]
add ecx, 0x9c
call fcn.00415ea0
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [eax + 0x50], 0x55e9fc
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x470022
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x599020
add edx, 0x599cc8
cmp dword [0x599034], 0x10
cmovae ecx, dword [0x599020]
call fcn.00491660
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x47005a
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x599038
add edx, 0x599cd0
cmp dword [0x59904c], 0x10
cmovae ecx, dword [0x599038]
call fcn.00491660
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x470092
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x599050
add edx, 0x599cd8
cmp dword [0x599064], 0x10
cmovae ecx, dword [0x599050]
call fcn.00491660
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x4700ca
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x599068
add edx, 0x599ce0
cmp dword [0x59907c], 0x10
cmovae ecx, dword [0x599068]
call fcn.00491660
mov eax, dword [0x598d6c]
mov ecx, dword [0x598d70]
cmp eax, ecx
jb 0x470104
xor eax, eax
mov dword [0x598d6c], eax
imul edi, eax, 0x354
add edi, 0x599bc8
cmp eax, ecx
jb 0x47011b
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x598fa8
push edi
add edx, 0x599d18
cmp dword [0x598fbc], 0x10
cmovae ecx, dword [0x598fa8]
call fcn.00492020
mov eax, dword [0x598d6c]
add esp, 4
mov ecx, dword [0x598d70]
cmp eax, ecx
jb 0x470159
xor eax, eax
mov dword [0x598d6c], eax
imul edi, eax, 0x354
add edi, 0x599be8
cmp eax, ecx
jb 0x470170
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x598fc0
push edi
add edx, 0x599d24
cmp dword [0x598fd4], 0x10
cmovae ecx, dword [0x598fc0]
call fcn.00492b10
mov eax, dword [0x598d6c]
add esp, 4
mov ecx, dword [0x598d70]
cmp eax, ecx
jb 0x4701ae
xor eax, eax
mov dword [0x598d6c], eax
imul edi, eax, 0x354
add edi, 0x599c08
cmp eax, ecx
jb 0x4701c5
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x598fd8
push edi
add edx, 0x599d30
cmp dword [0x598fec], 0x10
cmovae ecx, dword [0x598fd8]
call fcn.004935a0
mov eax, dword [0x598d6c]
add esp, 4
cmp eax, dword [0x598d70]
jb 0x470201
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x599008
add edx, 0x599ca8
cmp dword [0x59901c], 0x10
cmovae ecx, dword [0x599008]
call fcn.00494150
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x470239
xor eax, eax
mov dword [0x598d6c], eax
imul edx, eax, 0x354
mov ecx, 0x598ff0
add edx, 0x599cb0
cmp dword [0x599004], 0x10
cmovae ecx, dword [0x598ff0]
call fcn.00494a70
call fcn.004c51a0
mov eax, dword [esi]
xorps xmm0, xmm0
mov ecx, dword [eax]
mov al, byte [0x598d6b]
mov byte [ecx], al
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 1
mov byte [ebp - 4], 3
mov edx, 0x599db4
cmp dword [0x599dc8], 0x10
mov ecx, 0x599d6c
movzx eax, word [0x599f08]
cmovae edx, dword [0x599db4]
cmp dword [0x599d80], 0x10
push 1
cmovae ecx, dword [0x599d6c]
push 0x599bc8
push edx
push eax
push ecx
lea eax, [ebp - 0x60]
mov ecx, 0x599944
push eax
push str.status
call fcn.0042f620
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push 0x55eff8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
call fcn.004185e0
mov byte [ebp - 4], 4
mov eax, dword [0x598d6c]
cmp eax, dword [0x598d70]
jb 0x470312
xor eax, eax
mov dword [0x598d6c], eax
imul esi, eax, 0x354
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x78]
push eax
call fcn.00414ed0
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x599de4]
call fcn.00414d90
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x470367
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47035d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47078c
push ecx
push edx
call fcn.004f79ae
add esp, 8
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414ed0
lea eax, [ebp - 0x34]
mov ecx, 0x598f18
push eax
call fcn.00414d90
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4703b5
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4703ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470791
push ecx
push edx
call fcn.004f79ae
add esp, 8
call fcn.004b5310
cmp dword [0x598d70], 0
mov byte [0x598b4e], 1
jbe 0x4703d4
mov dword [0x598d6c], 0
mov edi, 0x598b4c
nop dword [eax]
xorps xmm0, xmm0
mov byte [ebp - 4], 5
movlpd qword [ebp - 0x1c], xmm0
push 0x598dc8
mov dword [ebp - 0x1c], 0x598dc8
mov byte [ebp - 0x18], 0
call fcn.004f63c6
add esp, 4
test eax, eax
jne 0x470796
cmp dword [0x598df4], 0x7fffffff
je 0x47079d
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 6
mov ecx, 0x598da0
mov byte [ebp - 0x178], al
push dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x180], 0x14
push eax
call fcn.0047d950
mov byte [ebp - 4], 5
cmp byte [ebp - 0x18], 0
je 0x470470
push dword [ebp - 0x1c]
call fcn.004f63eb
add esp, 4
nop word [eax + eax]
mov al, byte [0x598cfd]
test al, al
jne 0x47057d
push 0x598df8
call fcn.004f63c6
add esp, 4
test eax, eax
jne 0x4707ae
cmp dword [0x598e24], 0x7fffffff
je 0x4707b5
cmp dword [0x599b04], eax
push 0x598df8
sete byte [ebp - 0x171]
call fcn.004f63eb
add esp, 4
cmp byte [ebp - 0x171], 0
jne 0x47057d
lea eax, [ebp - 0x48]
push eax
call fcn.00442270
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0x38]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x20], al
mov byte [ebp - 4], 8
push 0x598df8
mov dword [ebp - 0x18], 0x598df8
call fcn.004f63c6
add esp, 4
test eax, eax
jne 0x4707c6
cmp dword [0x598e24], 0x7fffffff
je 0x4707cd
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x47054a
lea ecx, [ebp - 0x30]
call fcn.0049f820
jmp 0x470557
cmp eax, 1
jne 0x470557
lea ecx, [ebp - 0x30]
call fcn.0049f570
push 0x598df8
call fcn.004f63eb
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00415b10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00415b10
jmp 0x470470
mov al, byte [0x598cfd]
test al, al
jne 0x4706ac
mov al, byte [0x598b4c]
test al, al
je 0x4706ac
mov esi, dword [0x598d6c]
mov eax, dword [0x598d70]
cmp esi, eax
jb 0x4705b4
test eax, eax
je 0x4705b4
mov dword [0x598d6c], 0
cmp esi, dword [0x598d74]
jae 0x470610
imul eax, esi, 0x354
add eax, 0x599bc8
cmp dword [eax + 0x200], 0x10
lea ecx, [eax + 0x1ec]
jb 0x4705d8
mov ecx, dword [ecx]
cmp dword [eax + 0x1b8], 0x10
lea edx, [eax + 0x1a4]
movzx esi, word [eax + 0x340]
jb 0x4705f0
mov edx, dword [edx]
push 1
push 1
push eax
push ecx
push esi
push edx
lea eax, [ebp - 0x60]
mov ecx, 0x599944
push eax
push str.status
call fcn.0042f620
jmp 0x4706a8
cmp dword [0x599dc8], 0x10
mov edx, 0x599db4
movzx eax, word [0x599f08]
mov ecx, 0x599d6c
cmovae edx, dword [0x599db4]
cmp dword [0x599d80], 0x10
push 1
cmovae ecx, dword [0x599d6c]
push 1
push 0x599bc8
push edx
push eax
push ecx
lea eax, [ebp - 0x60]
mov ecx, 0x599944
push eax
push str.status
call fcn.0042f620
cmp esi, dword [0x598d74]
jb 0x4706a8
cmp esi, dword [0x598d70]
jae 0x4706a8
imul eax, esi, 0x354
add eax, 0x599bc8
cmp dword [eax + 0x1b8], 0x10
movzx edx, word [eax + 0x340]
lea ecx, [eax + 0x1a4]
jb 0x47068f
mov ecx, dword [ecx]
push 1
push ecx
push eax
push edx
push ecx
lea eax, [ebp - 0x60]
mov ecx, 0x599944
push eax
push str.getstatus
call fcn.0042f7c0
xor al, al
xchg byte [edi], al
mov dword [ebp - 4], 4
jmp 0x4703e0
call fcn.0040a4d0
call fcn.005094c8
call fcn.005094c8
call fcn.005094c8
call fcn.005094c8
push 5
call fcn.004f6790
push 6
mov dword [0x598df4], 0x7ffffffe
call fcn.004f6790
push 5
call fcn.004f6790
push 6
mov dword [0x598e24], 0x7ffffffe
call fcn.004f6790
push 5
call fcn.004f6790
push 6
mov dword [0x598e24], 0x7ffffffe
call fcn.004f6790
int3