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

Disassembly:
sub esp, 0x3c
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x41bd04
xor eax, eax
pop esi
add esp, 0x3c
ret
cmp dword [esi + 0x10], 0
je 0x41bcfd
cmp dword [esi + 0x14], 0
je 0x41bcfd
cmp dword [esi + 0x18], 0
je 0x41bcfd
cmp dword [esi + 0x1c], 0
je 0x41bcfd
push edi
call fcn.0040ff10
mov edi, eax
test edi, edi
jne 0x41bd2e
pop edi
pop esi
add esp, 0x3c
ret
push ebp
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0040e720
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.USER32.dll_SetRect]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x24]
push eax
call ebp
push 0xff
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
mov ecx, dword [esi + 0x10]
push edi
push edx
add ecx, 0x108
call fcn.0040e7d0
test eax, eax
jne 0x41bd7d
pop ebp
pop edi
pop esi
add esp, 0x3c
ret
cmp dword [esi + 0x58], 0
push ebx
mov ebx, 0x1b0
jne 0x41bdd5
movzx eax, byte [esi + 0x78]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x10]
add ecx, 0x108
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x2c], 0x308
mov dword [esp + 0x28], 0x1e0
mov dword [esp + 0x30], 0x248
call fcn.0040ee40
test eax, eax
jne 0x41be75
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x38]
push edx
add ecx, 0x108
call fcn.0040e720
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x38]
push edx
call ebp
mov ecx, dword [esp + 0x44]
movzx edx, byte [esi + 0x78]
mov eax, dword [esp + 0x40]
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
add ecx, 0x108
push eax
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x24]
push edx
add ecx, 0x108
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebx
call fcn.0040ea20
test eax, eax
je 0x41bdcb
mov ecx, dword [esi + 0x14]
push 0xff
lea eax, [esp + 0x2c]
add ecx, 0x108
push eax
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x24]
push edx
add ecx, 0x108
call fcn.0040ea20
test eax, eax
je 0x41bdcb
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41c04f
lea edi, [esi + 0x28]
push eax
mov ecx, edi
call fcn.0041b640
test eax, eax
je 0x41bdcb
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x38]
push eax
add ecx, 0x108
call fcn.0040e720
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
push eax
push 0
mov dword [esp + 0x3c], eax
push 0
lea eax, [esp + 0x28]
lea edx, [ecx + 0x1b0]
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
call ebp
mov edx, dword [esi + 0x10]
push 0xff
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x1c]
add edx, 0x108
push edx
lea eax, [esp + 0x24]
push eax
add ecx, 0x108
call fcn.0040e7d0
test eax, eax
je 0x41bdcb
mov ecx, edi
call fcn.0041b560
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x1c]
mov edi, eax
add ecx, 0x108
mov dword [esp + 0x18], edi
call fcn.0040e720
mov ebx, dword [esi + 0x58]
neg ebx
sbb ebx, ebx
and ebx, 0xffffffe0
add ebx, 0x38
lea ebp, [ebx + 1]
mov esi, edi
mov dword [esp + 0x10], 0xa0
mov edi, edi
mov eax, dword [esp + 0x3c]
mov edx, ebp
imul edx, dword [esp + 0x40]
lea eax, [eax + edx*4 + 0x84]
xor edi, edi
inc eax
movzx edx, byte [esi + edi]
test edx, edx
je 0x41bf9b
cmp edx, 0xf
jne 0x41bf6f
mov byte [eax + 1], 0
mov byte [eax], 0
mov byte [eax - 1], 0
jmp 0x41bf9b
mov ecx, 0xf
sub ecx, edx
movzx edx, byte [eax + 1]
imul edx, ecx
sar edx, 4
mov byte [eax + 1], dl
movzx edx, byte [eax]
imul edx, ecx
sar edx, 4
mov byte [eax], dl
movzx edx, byte [eax - 1]
imul edx, ecx
sar edx, 4
mov byte [eax - 1], dl
inc edi
add eax, 4
cmp edi, 0x30c
jb 0x41bf55
add esi, 0x30c
inc ebp
sub dword [esp + 0x10], 1
jne 0x41bf40
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x10], eax
nop
mov edx, dword [esp + 0x3c]
lea ecx, [esi + ebx]
imul ecx, dword [esp + 0x40]
lea eax, [edx + ecx*4 + 0x80]
xor ebp, ebp
inc eax
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + ebp]
test edx, edx
je 0x41c02e
cmp edx, 0xf
jne 0x41bff4
mov byte [eax + 1], 0xff
mov byte [eax], 0xff
mov byte [eax - 1], 0xff
jmp 0x41c02e
mov ecx, 0xf
sub ecx, edx
imul edx, edx, 0xff
mov edi, edx
movzx edx, byte [eax + 1]
imul edx, ecx
add edx, edi
sar edx, 4
mov byte [eax + 1], dl
movzx edx, byte [eax]
imul edx, ecx
add edx, edi
sar edx, 4
mov byte [eax], dl
movzx edx, byte [eax - 1]
imul edx, ecx
add edx, edi
sar edx, 4
mov byte [eax - 1], dl
inc ebp
add eax, 4
cmp ebp, 0x30c
jb 0x41bfd6
add dword [esp + 0x10], 0x30c
inc esi
cmp esi, 0xa0
jb 0x41bfc0
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 0x3c
ret