Function at 0x4a3a65
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61e088
push eax
mov eax, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0x58
or al, 8
test eax, 0x1f200000
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x8c], eax
mov dword [esi + 0x158], htons
jne 0x4a3a88
or eax, 0x8000000
mov dword [esp + 0x8c], eax
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xac]
mov edi, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call dword [edi + 0xb0]
push eax
mov ecx, esi
call dword [edi + 0x25c]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 4]
mov ebx, dword [ebp]
mov dword [esp + 0x2c], ecx
mov eax, ecx
lea ecx, [esp + 0x30]
mov edx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.0049be70
mov eax, dword [eax]
test ebx, ebx
mov dword [esp + 0x18], eax
jg 0x4a3aed
lea ebx, [eax + 0x65]
or edx, 0xffffffff
sub edx, eax
add ebx, edx
test ebx, ebx
jg 0x4a3b05
push str.not_enough_space_for_wxSpinCtrl_
call fcn.0045dbf0
add esp, 4
mov edi, dword [esp + 0x84]
push 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], ecx
lea edx, [eax + ebx + 1]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov ebx, dword [eax + 0x114]
call fcn.0050ec10
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0
push str.EDIT
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [esi + 0x15c], eax
jne 0x4a3b65
xor al, al
jmp 0x4a3d7c
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x8c]
push edx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0049bd10
test al, al
je 0x4a3d7c
mov eax, dword [esi + 0x15c]
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], edx
call edi
mov eax, dword [esi + 0x15c]
push 0x4a34c0
push 0xfffffffffffffffc
push eax
call edi
mov dword [esi + 0x160], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e4]
test byte [esi + 0xc8], 0x40
jne 0x4a3c45
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x140]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x74], 0
call dword [edx + 0x158]
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], 2
call fcn.0047d2b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 1
call fcn.0047d2b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0xffffffff
call fcn.0047c770
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x4a3c92
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.004617e0
mov ecx, dword [esi + 0x114]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x8c]
push edx
push eax
push ecx
mov dword [esp + 0x80], 3
call fcn.0045d380
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.0047c770
push ebp
mov ecx, esi
call fcn.00460a40
mov ecx, dword [esi + 0x15c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x114]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x98]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x2d0]
mov eax, dword [esp + 0x94]
mov edx, dword [esi]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x2dc]
mov ebp, dword [esp + 0x80]
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4a3d17
push ebp
mov ecx, esi
call fcn.004a3e30
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [esi + 0x158], eax
jmp 0x4a3d6d
push edi
lea edx, [esp + 0x90]
push 0x6c2acc
push edx
call fcn.004ec180
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x74], 4
call fcn.004a3e30
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], 0xffffffff
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4a3d67
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a3d67
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x158], edi
push 1
push esi
mov ecx, 0x702674
call fcn.004f53f0
mov al, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x28