Function at 0x4063f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0xffffeffd
push 0x43
mov dword [ebp - 0x14], 0x1f
cmp dword [ebp - 0x14], 0
je 0x40644f
cmp dword [ebp - 0x14], 0x22
jne 0x406441
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push 0x840b
push dword [ebp - 0x28]
push 0x24fe
push str.RLL_M4FE91_DXMR_25T_VAA_H03_FWG_CGS
push dword [ebp - 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
jmp 0x406404
xor edx, edx
mov dword [ebp - 0x6c], 0x4979
cmp dword [ebp - 0x6c], 0x4979
jae 0x406476
mov ecx, 0x1de
mov eax, dword [ebp - 0x78]
adc eax, ecx
mov dword [ebp - 0x78], eax
mov eax, ebx
pop ecx
div ecx
cmp edx, 0x76
je 0x4065eb
cmp ebx, 0xffffeff6
je 0x4065eb
push 0x76
xor edx, edx
mov eax, ebx
pop ecx
div ecx
cmp edx, 0x98
jae 0x4065b9
cmp ebx, 0xffffeff8
je 0x4065b9
cmp esi, dword [ebp - 0xd4]
mov ecx, 0x3c55
mov eax, dword [0x40d57a]
sbb dword [eax], ecx
push 0x65
xor edx, edx
mov eax, ebx
pop ecx
div ecx
cmp edx, 0x896
ja 0x406590
cmp ebx, 0xffffeff2
je 0x406590
test dword [0x40d491], edx
mov eax, dword [0x40d481]
sbb eax, dword [ebp - 0x74]
mov dword [0x40d481], eax
xor edx, edx
add ecx, 0x22
cmp dword [ebp - 0xf4], 0x4041
jbe 0x40651c
mov eax, 0x179e
add dword [ebp - 0x68], eax
jmp 0x406531
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x120]
mov dword [ebp - 0x11c], eax
mov eax, 0x29
imul eax, dword [eax*4 + 0x40d52e]
mov eax, ebx
div ecx
cmp edx, 0x103
je 0x40655a
cmp ebx, 0xffffeff4
jne 0x406687
mov eax, dword [0x40d616]
mov ecx, dword [0x40d3d1]
add dword [eax], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 0x20]
add ecx, edi
mov dword [edx], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
cmp ecx, eax
jbe 0x406583
mov eax, ecx
mov ecx, 0x36
mov ecx, dword [ebp + 0x24]
jmp 0x406685
mov ecx, dword [ebp + 0x14]
mov eax, 0xffffeff9
mov dword [ecx], eax
mov ecx, 0x11
mov ecx, dword [ecx*4 + 0x40d3d1]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0xffffeffb
jmp 0x406687
mov dword [ebp - 0xb8], 0x675f0000
cmp dword [ebp - 0xb8], 0x675f1000
jge 0x40666c
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp + 0x10]
add eax, edi
mov dword [ecx], eax
mov eax, dword [eax + 0x78]
add eax, edi
mov dword [esi], eax
jmp 0x406687
mov eax, dword [esi]
and dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0x1f
jne 0x406647
push dword [ebp - 0x14]
push 0x3255
push 0x11a5
push dword [ebp - 0x10]
push 0x8341
push dword [ebp - 0x10]
push 0x75b4
push dword [ebp - 0x1c]
push 0x400000
push 0x8fcd
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0x5282
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
cmp dword [ebp - 0x48], 0x19
jb 0x4065f5
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x104]
xor dword [ebp - 0x100], edx
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
add ecx, edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x15c]
rcl ecx, 1
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dword [ecx], eax
cmp dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x1a4]
sbb dword [ebp - 0x198], eax
mov eax, 0x352e
xor ebx, eax
inc ebx
xor ebx, eax
cmp ebx, 0xffffefcd
jne 0x4063fa
pop ebx
pop ebp
ret 0x20