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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp dword [ebp + 0x10], 0x803f
push esi
sete al
push edi
push pe_nt_image_headers32
push 0
push ebx
mov esi, eax
xor eax, eax
cmp dword [ebp + 0x10], 0x800f
mov dword [ebp - 4], esi
sete al
mov dword [ebp + 0x10], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, ebx
call fcn.00403195
mov edx, eax
call fcn.0040319b
test esi, esi
mov ecx, eax
je 0x403b04
lea eax, [edx - 0x32]
cdq
sub eax, edx
sar eax, 1
add eax, 2
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xb0], eax
add eax, 0x14
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xb8], eax
add eax, 0xa
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xc0], eax
add eax, 0x14
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xc8], eax
lea eax, [ecx - 0x34]
cdq
sub eax, edx
sar eax, 1
add eax, 2
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xb4], eax
add eax, 0x15
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xbc], eax
add eax, 0xa
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xd4], eax
add eax, 0x15
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xdc], eax
jmp 0x403b35
lea eax, [edx - 0x33]
cdq
sub eax, edx
sar eax, 1
add eax, 2
mov dword [ebx + 0xb0], eax
add eax, 0x33
mov dword [ebx + 0xb8], eax
lea eax, [ecx - 0x21]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0xb4], eax
add eax, 0x21
mov dword [ebx + 0xbc], eax
test esi, esi
jne 0x403b7e
cmp dword [ebp + 0x10], esi
jne 0x403b7e
lea edi, [ebx + 0x70]
lea esi, [ebx + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
push dword [esi]
call fcn.00403141
sub dword [ebx + 0x70], eax
push dword [esi + 0x10]
call fcn.0040316b
sub dword [ebx + 0x74], eax
push dword [esi + 0x20]
call fcn.00403141
add dword [ebx + 0x78], eax
push dword [esi + 0x30]
call fcn.0040316b
add esp, 0x10
add dword [ebx + 0x7c], eax
jmp 0x403bba
mov eax, esi
neg eax
sbb eax, eax
and eax, 3
inc eax
test eax, eax
jle 0x403bb7
lea ecx, [ebx + 0x70]
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
jmp 0x403b9a
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x40]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
movsd dword es:[edi], dword [esi]
push 5
push ecx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
add dword [ebp + 8], 0x10
dec dword [ebp - 8]
jne 0x403b97
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 4], 0
mov edi, dword [ebx + 0x70]
mov dword [ebx + 0x18], edi
jne 0x403bcc
cmp dword [ebp + 0x10], 0
je 0x403bec
mov eax, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00403141
pop ecx
mov ecx, dword [ebx + 0xb0]
add eax, edi
cmp eax, ecx
jl 0x403be9
mov eax, ecx
mov dword [ebx + 0x18], eax
push dword [esi + 4]
call fcn.00403141
mov edi, dword [ebx + 0x74]
pop ecx
mov ecx, dword [ebx + 0x18]
sub ecx, eax
cmp dword [ebp - 4], 0
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], edi
jne 0x403c0f
cmp dword [ebp + 0x10], 0
je 0x403c2f
mov eax, dword [esi + 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0040316b
pop ecx
mov ecx, dword [ebx + 0xb4]
add eax, edi
cmp eax, ecx
jl 0x403c2c
mov eax, ecx
mov dword [ebx + 0x2c], eax
push dword [esi + 0x14]
mov edi, dword [ebx + 0x2c]
call fcn.0040316b
sub edi, eax
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
mov dword [ebx + 0x24], edi
je 0x403c4f
mov edi, dword [ebx + 0x88]
jmp 0x403c52
mov edi, dword [ebx + 0x78]
cmp dword [ebp - 4], eax
mov dword [ebx + 0x30], edi
jne 0x403c82
cmp dword [ebp + 0x10], eax
je 0x403ca1
mov eax, dword [ebx + 0xb8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00403141
sub edi, eax
cmp edi, dword [ebp + 0xc]
pop ecx
jle 0x403c8a
mov eax, edi
jmp 0x403c9e
mov eax, dword [ebx + 0xc8]
jmp 0x403c65
cmp dword [ebp - 4], 0
je 0x403c98
mov eax, dword [ebx + 0xc8]
jmp 0x403c9e
mov eax, dword [ebx + 0xb8]
mov dword [ebx + 0x30], eax
push dword [esi + 0x24]
call fcn.00403141
add eax, dword [ebx + 0x30]
cmp dword [ebp - 4], 0
pop ecx
mov dword [ebx + 0x38], eax
je 0x403cbe
mov edi, dword [ebx + 0x9c]
jmp 0x403cc1
mov edi, dword [ebx + 0x7c]
cmp dword [ebp - 4], 0
mov dword [ebx + 0x44], edi
jne 0x403cf3
cmp dword [ebp + 0x10], 0
je 0x403d12
mov eax, dword [ebx + 0xbc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x34]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0040316b
sub edi, eax
cmp edi, dword [ebp + 0xc]
pop ecx
jle 0x403cfb
mov eax, edi
jmp 0x403d0f
mov eax, dword [ebx + 0xdc]
jmp 0x403cd6
cmp dword [ebp - 4], 0
je 0x403d09
mov eax, dword [ebx + 0xdc]
jmp 0x403d0f
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0x44], eax
push dword [esi + 0x34]
mov edi, dword [ebx + 0x44]
call fcn.0040316b
add eax, edi
cmp dword [ebp - 4], 0
pop ecx
mov dword [ebx + 0x4c], eax
je 0x403db3
mov eax, dword [ebx + 0xd4]
mov edi, dword [ebx + 0xbc]
push dword [esi + 0x44]
sub eax, edi
mov dword [ebp + 0xc], eax
call fcn.0040316b
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, edi
cmp edi, eax
jg 0x403d5b
mov edi, eax
lea eax, [edi + ecx]
mov ecx, dword [ebx + 0xd4]
cmp ecx, eax
mov dword [ebx + 0x54], edi
jge 0x403d6d
mov eax, ecx
mov edi, dword [ebx + 0xb8]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0xc0]
push dword [esi + 0x54]
sub eax, edi
mov dword [ebp + 0xc], eax
call fcn.00403141
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, edi
cmp edi, eax
jg 0x403d9e
mov edi, eax
lea eax, [edi + ecx]
mov ecx, dword [ebx + 0xc0]
cmp ecx, eax
mov dword [ebx + 0x60], edi
jge 0x403db0
mov eax, ecx
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x50], eax
mov eax, ebx
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x6c], edx
call fcn.00403875
mov eax, dword [ebp + 0x14]
pop edi
fstp qword [eax]
pop esi
leave
ret 0x10