Function at 0x40c4d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597ac5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60cff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004383d9
call fcn.00438ab6
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x1cc]
mov ecx, esi
call fcn.0043912a
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40c850
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str._ClientConfig_Resource_Window_Admin_Title
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004059a0
test al, al
jne 0x40c575
push 0x29
push str._ClientConfig_Resource_Window_Admin_Title
mov ecx, edi
call fcn.004060b0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00429540
mov dword [ebp - 4], 1
mov ecx, esi
push dword [eax]
push 0x41e
call fcn.00438cef
mov ecx, eax
call fcn.0043912a
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c5c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40c85a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str._ClientConfig_Resource_Window_Admin_Message
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.004059a0
test al, al
jne 0x40c609
push 0x2b
push str._ClientConfig_Resource_Window_Admin_Message
mov ecx, edi
call fcn.004060b0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00429540
mov dword [ebp - 4], 3
mov ecx, esi
push dword [eax]
push 0x40b
call fcn.00438cef
mov ecx, eax
call fcn.0043912a
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c656
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40c864
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str._ClientConfig_ErrDialog_OKButton
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.004059a0
test al, al
jne 0x40c69a
push 0x20
push str._ClientConfig_ErrDialog_OKButton
mov ecx, edi
call fcn.004060b0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00429540
mov dword [ebp - 4], 5
mov ecx, esi
push dword [eax]
push 0x3f6
call fcn.00438cef
mov ecx, eax
call fcn.0043912a
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40c86e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str._ClientConfig_ErrDialog_CancelButton
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.004059a0
test al, al
jne 0x40c72b
push 0x24
push str._ClientConfig_ErrDialog_CancelButton
mov ecx, edi
call fcn.004060b0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00429540
mov dword [ebp - 4], 7
mov ecx, esi
push dword [eax]
push 0x3ea
call fcn.00438cef
mov ecx, eax
call fcn.0043912a
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c778
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e2d2c
push 0x40a
mov ecx, esi
call fcn.00438cef
mov ecx, eax
call fcn.0043912a
mov ecx, esi
call fcn.0040dd20
mov ecx, esi
test eax, eax
jne 0x40c7b8
push 2
call fcn.0043812c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040db50
mov dword [esi + 0x1d8], eax
cmp eax, 1
je 0x40c83c
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40c878
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x5e2d2c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 8
call fcn.004059a0
test al, al
jne 0x40c809
push 0
push 0x5e2d2c
lea ecx, [ebp - 0x10]
call fcn.004060b0
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 9
push eax
mov ecx, esi
call fcn.0040c910
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40c83c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
int3