Function at 0x41b4f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0
mov ax, word [ebp + 8]
push eax
call sub.gnwie.dll_Wquerywidget
add esp, 8
mov word [ebp - 0xc], ax
movsx ecx, word [ebp - 0xc]
test ecx, ecx
jne 0x41b51a
xor ax, ax
jmp 0x41bce5
movsx edx, word [0x43858c]
test edx, edx
jne 0x41b52a
call fcn.0041a930
lea eax, [ebp - 0x18]
push eax
movsx ecx, word [0x43858c]
push ecx
call fcn.0042cc7d
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41b54f
xor ax, ax
jmp 0x41bce5
push sym.gnbux.exe_BUSGOPT3msgproc
mov dx, word [ebp - 0xc]
push edx
call sub.gnwie.dll_Wregisterclass
add esp, 8
mov ecx, dword [ebp - 4]
mov word [ecx], ax
mov edx, dword [ebp - 4]
mov ax, word [ebp + 8]
mov word [edx + 2], ax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp + 0x10]
mov byte [ecx + 4], dl
push 0
push 0x8c
push 0
call fcn.0042d174
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call fcn.0042d053
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x41bce2
push 0x8c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [ebp + 0xc]
mov word [eax], cx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x28]
mov dword [ecx + 0x68], edx
push 0x100
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 2
push ecx
mov dx, word [ebp - 0xc]
push edx
call sub.gnwie.dll_SHLcreate
add esp, 0x14
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov word [edx + 4], ax
mov eax, dword [ebp - 0x18]
push eax
mov cx, word [0x43858c]
push ecx
mov edx, dword [ebp - 4]
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
push eax
call sub.gnwie.dll_Wcreatesuperwidget
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov word [edx + 0xa], ax
push 0
push 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 2]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0xa]
push ecx
call sub.gnwie.dll_DCONTcreate
add esp, 0x14
mov edx, dword [ebp + 0x18]
push edx
push 0
push 4
push 0x70
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xc]
push edx
call sub.gnwie.dll_BTNGcreate
add esp, 0x1c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xc]
push edx
call sub.gnwie.dll_BTNGsetdefbtn
add esp, 8
mov eax, dword [ebp + 0x14]
add eax, 8
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
push edx
push 6
push 2
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xe]
push edx
call sub.gnwie.dll_BTNGcreate
add esp, 0x1c
mov eax, dword [ebp + 0x14]
add eax, 0x24
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x20]
push edx
push 5
push 2
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0x10]
push edx
call sub.gnwie.dll_BTNGcreate
add esp, 0x1c
mov eax, dword [ebp + 0x14]
add eax, 0x3c
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x38]
push edx
push 3
push 1
push 3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0x12]
push edx
call sub.gnwie.dll_BTNGcreate
add esp, 0x1c
mov eax, dword [ebp + 0x14]
add eax, 0x68
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x64]
push edx
push 3
push 1
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0x14]
push edx
call sub.gnwie.dll_BTNGcreate
add esp, 0x1c
push 1
push 5
push 1
push 8
push 3
push 3
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x48]
push ecx
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 2]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0x16]
push ecx
call sub.gnwie.dll_SNUMcreate
add esp, 0x28
push 1
push 5
push 1
push 5
push 1
push 1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x4c]
push eax
push 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 0x18]
push eax
call sub.gnwie.dll_SNUMcreate
add esp, 0x28
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
add edx, 0x83
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x68]
mov dl, byte [ecx + 0x10]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x50]
push ecx
push 0
push 7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 2]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0x1a]
push ecx
call sub.gnwie.dll_ORDERcreate
add esp, 0x24
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
add eax, 0x54
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 0x1a]
push eax
call sub.gnwie.dll_ORDERquerysize
add esp, 8
push 5
push 0x43752c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
push eax
call sub.gnwie.dll_WHKcreate
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov word [edx + 6], ax
push 0x43755c
push 7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 6]
push edx
call sub.gnwie.dll_WHKsetcmdlist
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
push eax
call fcn.0041a990
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + 0x24]
cmp edx, dword [ecx + 0x2c]
jle 0x41b8ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x20], edx
jmp 0x41b8fa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x34]
jle 0x41b93e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx + 0x24]
cmp ecx, dword [eax + 0x2c]
jle 0x41b92a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
jmp 0x41b936
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
jmp 0x41b94a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
sub edx, dword [ecx + 0x20]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xa]
push edx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xa]
push edx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x30]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x28]
push edx
push 0
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xa]
push edx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx + 0x30]
add ecx, dword [eax + 0x28]
push ecx
push 0
push 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0xa]
push ecx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + 0x44]
cmp eax, dword [edx + 0x4c]
jle 0x41ba68
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x2c], eax
jmp 0x41ba74
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + 0x3c]
cmp edx, dword [ecx + 0x54]
jle 0x41ba96
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x30], edx
jmp 0x41baa2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jle 0x41bae0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x4c]
jle 0x41bacc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x34], edx
jmp 0x41bad8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x41bb14
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + 0x3c]
cmp edx, dword [ecx + 0x54]
jle 0x41bb02
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x3c], edx
jmp 0x41bb0e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 0x58]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
sub ecx, dword [eax + 0x38]
sub ecx, dword [0x438588]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
sub ecx, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
sub ecx, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
sub ecx, dword [eax + 0x50]
mov eax, ecx
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [0x438584]
lea eax, [ecx + edx*2]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
sub eax, dword [edx + 0x3c]
mov ecx, dword [0x438584]
shl ecx, 1
sub eax, ecx
push eax
push 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0xa]
push ecx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x48]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x38]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0x44]
sub ecx, dword [0x438584]
push ecx
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov cx, word [eax + 0xa]
push ecx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + 0x38]
add eax, dword [edx + 0x48]
mov ecx, dword [ebp - 8]
lea edx, [eax + ecx*2]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
sub edx, dword [ecx + 0x4c]
sub edx, dword [0x438584]
push edx
push 6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dx, word [ecx + 0xa]
push edx
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [ebp - 0x10]
sub esi, dword [ecx + 0x58]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
sub esi, dword [eax + 0x20]
mov eax, dword [0x438588]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
push esi
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
sub eax, dword [edx + 0x54]
sub eax, dword [0x438584]
push eax
push 7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 0xa]
push eax
call sub.gnwie.dll_DCONTsetchildpos
add esp, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov ax, word [edx + 2]
jmp 0x41bce5
xor ax, ax
pop esi
mov esp, ebp
pop ebp
ret