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

Disassembly:
push 0xffffffffffffffff
push 0x4cf848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
push ebx
mov ebx, dword [esp + 0x2c8]
cmp ebx, 0x20
push ebp
mov ebp, dword [esp + 0x2d0]
push esi
push edi
mov edi, dword [esp + 0x2dc]
mov esi, ecx
mov dword [esp + 0x10], 0
ja 0x41d56b
je 0x41d545
lea eax, [ebx - 1]
cmp eax, 0x1b
ja case.0x41dd80.793
movzx eax, byte [eax + 0x41de28]
jmp dword [eax*4 + 0x41dde4]
lea ecx, [esp + 0x17]
push ecx
push edi
mov ecx, esi
call fcn.00418670
mov bl, al
test bl, bl
je 0x41ddad
mov cl, byte [esp + 0x17]
xor edx, edx
test cl, cl
setne dl
dec edx
mov dword [esp + 0x10], edx
jmp 0x41dda9
mov ecx, esi
call fcn.00415200
jmp case.0x41dd80.793
push ebp
mov eax, edi
shr eax, 0x10
movzx ecx, di
push eax
push ecx
mov ecx, esi
call fcn.00419700
jmp 0x41dda7
mov edx, edi
shr edx, 0x10
movsx eax, dx
movsx ecx, di
push eax
push ecx
mov ecx, esi
call fcn.004195b0
jmp 0x41dda7
mov eax, dword [0x6e3edc]
mov ebx, dword [eax]
mov dword [esp + 0x18], eax
call fcn.0041f3d0
mov ecx, dword [esp + 0x18]
test ebp, ebp
setne dl
push eax
push edx
call dword [ebx + 0xbc]
jmp 0x41ddad
mov eax, ebp
shr eax, 0x10
test eax, eax
setne cl
push edi
movzx edx, bp
push ecx
push edx
mov ecx, esi
call fcn.004186a0
jmp 0x41dda7
push ebp
mov ecx, esi
call fcn.00418740
jmp 0x41dda7
push ebp
mov ecx, esi
call fcn.00418860
jmp 0x41dda7
test ebp, ebp
je 0x41d4cd
push ebp
push esi
lea ecx, [esp + 0x1c4]
call fcn.004470d0
mov ecx, esi
mov dword [esp + 0x2cc], 0
call fcn.0041d230
lea ecx, [esp + 0x1bc]
mov bl, al
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00446e20
jmp 0x41dda9
mov ecx, esi
call fcn.0041d230
jmp 0x41dda7
mov dword [esp + 0x10], 1
jmp 0x41ddc5
test ebp, ebp
setne al
push edi
mov ecx, esi
push eax
call fcn.004189a0
jmp 0x41dda7
mov ecx, esi
call fcn.00418d30
jmp 0x41dda7
mov edx, dword [esi]
push edi
push ebp
mov ecx, esi
call dword [edx + 0x284]
jmp 0x41dda7
push ebp
mov ecx, esi
call fcn.0041cef0
jmp 0x41d554
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004184e0
jmp 0x41dda7
test ebp, ebp
setne cl
push edi
push ecx
mov ecx, esi
call fcn.004185a0
jmp 0x41dda7
mov edx, edi
shr edx, 0x10
push edx
push edi
push ebp
mov ecx, esi
call fcn.0041b6c0
mov bl, al
test bl, bl
je 0x41ddad
mov dword [esp + 0x10], 1
jmp 0x41dda9
cmp ebx, 0x115
ja 0x41db35
cmp ebx, 0x114
jae 0x41db0b
lea eax, [ebx - 0x24]
cmp eax, 0xed
ja case.0x41dd80.793
movzx eax, byte [eax + 0x41de80]
jmp dword [eax*4 + 0x41de44]
push edi
mov ecx, ebp
shr ecx, 0x10
push ecx
push ebp
mov ecx, esi
call fcn.004199e0
jmp 0x41dda7
lea edx, [esp + 0x10]
push edx
push edi
push ebp
mov ecx, esi
call fcn.004183c0
jmp 0x41dda7
cmp ebx, 0x2b
push edi
mov ecx, esi
push ebp
jne 0x41d5dc
mov eax, dword [esi]
call dword [eax + 0x27c]
jmp 0x41d554
mov edx, dword [esi]
call dword [edx + 0x280]
jmp 0x41d554
mov eax, dword [esi + 0x118]
test eax, eax
je 0x41d604
mov eax, dword [esi + 0xcc]
shr eax, 0x12
test al, 1
je case.0x41dd80.793
mov ecx, dword [esi + 0xcc]
shr ecx, 0x12
test cl, 1
mov dword [esp + 0x10], 0x80
je 0x41ddc5
mov dword [esp + 0x10], 0x87
jmp 0x41ddc5
movzx ebx, bp
push edi
push ebx
mov ecx, esi
call fcn.0041c050
mov cl, byte [esi + 0x11c]
shl al, 1
xor al, cl
and al, 2
xor cl, al
mov al, cl
test al, 2
mov byte [esi + 0x11c], cl
je 0x41d655
mov bl, 1
jmp 0x41d692
lea eax, [ebp - 8]
cmp eax, 0xd6
ja case.0x41d666.10
movzx edx, byte [eax + 0x41df80]
jmp dword [edx*4 + 0x41df70]
xor bl, bl
jmp 0x41d692
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x204
mov ecx, esi
call fcn.00419c00
jmp 0x41d690
push 0
push edi
push ebx
mov ecx, esi
call fcn.0041bd70
mov bl, al
cmp dword [esp + 0x2d4], 0x104
je 0x41ddad
jmp 0x41dda9
cmp ebp, 0x5d
mov ecx, esi
jne 0x41d6c4
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x205
call fcn.00419c00
jmp 0x41dda7
movzx eax, bp
push edi
push eax
call fcn.0041c0e0
jmp 0x41dda7
mov al, byte [esi + 0x11c]
test al, 2
je 0x41d6ea
and al, 0xfd
mov byte [esi + 0x11c], al
jmp 0x41ddc5
push 1
movzx ecx, bp
push edi
push ecx
mov ecx, esi
call fcn.0041bd70
jmp 0x41dda7
mov ecx, esi
call fcn.00418db0
jmp 0x41dda7
push ebp
mov ecx, esi
call fcn.00418a30
mov bl, al
test bl, bl
je 0x41ddad
mov dword [esp + 0x10], 0
jmp 0x41dda9
push edi
mov ecx, esi
call fcn.00419940
jmp 0x41dda7
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x41d786
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [0x6d2164]
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.004162f0
mov dword [esp + 0x70], esi
mov esi, dword [esi + 0x5c]
mov eax, dword [esi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov dword [esp + 0x2d0], 1
call dword [eax + 0x10]
jmp 0x41d7c7
cmp eax, 2
jne case.0x41dd80.793
mov edx, dword [edi + 8]
mov eax, dword [0x6d2164]
push 0
push 0x6c5e98
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.004162f0
mov dword [esp + 0x70], esi
mov esi, dword [esi + 0x5c]
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x2d0], 2
call dword [edx + 0x10]
lea ecx, [esp + 0x68]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00416380
jmp 0x41ddc5
mov edx, edi
shr edx, 0x10
movsx ecx, di
movsx eax, dx
mov edx, dword [0x6d20fc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x28]
push eax
push edx
lea ecx, [esp + 0x74]
call fcn.00416400
cmp ebp, dword [esi + 0x114]
mov dword [esp + 0x2cc], 3
je 0x41d82d
push 0
push ebp
mov ecx, esi
call fcn.00416c00
test eax, eax
jne 0x41d82f
mov eax, esi
mov dword [esp + 0x70], eax
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [esp + 0x68]
mov bl, al
mov dword [esp + 0x2cc], 0xffffffff
call fcn.004092b5
jmp 0x41dda9
call fcn.00414ea0
test eax, eax
mov dword [esp + 0x2c], eax
je case.0x41dd80.793
mov ecx, esi
call fcn.00416640
cmp eax, 0x10000000
jne case.0x41dd80.793
mov edi, dword [esp + 0x2dc]
mov ebp, dword [esp + 0x2d8]
mov edx, dword [esi]
push edi
push ebp
push ebx
mov ecx, esi
call dword [edx + 0x28c]
mov dword [esp + 0x10], eax
mov eax, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x41d8ca
mov dword [esp + 0x44], edi
push 0x4ee760
push esi
lea ecx, [esp + 0x20]
call fcn.00416a80
push esi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x2d0], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00446f40
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x34]
push 1
push 1
push edx
push eax
mov byte [esp + 0x2e4], 5
call dword [ecx + 0x10]
test eax, eax
jne 0x41d986
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
cmp ebp, ebx
je 0x41d963
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x41d97e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov dword [esp + 0x10], 0x300
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x2cc], 4
call fcn.00446ae0
jmp 0x41daf2
call fcn.00414ea0
test eax, eax
mov dword [esp + 0x2c], eax
je case.0x41dd80.793
mov ecx, esi
call fcn.00416640
cmp eax, 0x10000000
jne case.0x41dd80.793
mov eax, dword [esp + 0x2dc]
mov ecx, dword [esp + 0x2d8]
mov edx, dword [esi]
push eax
push ecx
push ebx
mov ecx, esi
call dword [edx + 0x28c]
push 0x4ee760
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.00416a80
mov ebx, 6
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2d0], ebx
call fcn.00446ed0
lea edx, [esp + 0xb4]
push edx
mov ecx, esi
mov byte [esp + 0x2d0], 7
call fcn.00416570
push eax
lea ecx, [esp + 0x20]
call fcn.00415860
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004158c0
mov ecx, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
add esp, 8
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
push 1
push 1
push ecx
push ebp
call dword [edi + 0x10]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1ac]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 1
push 1
push ebp
call dword [edi + 0x38]
test eax, eax
je 0x41dab5
mov ecx, dword [esp + 0x1a4]
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call dword [edi + 0xb4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa4]
mov edx, dword [esp + 0x1a4]
neg al
push 0
lea ecx, [esp + 0x5c]
push ecx
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
push eax
push 1
push edx
push ebp
call dword [edi + 8]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x2cc], bl
call fcn.00441790
lea ecx, [esp + 0x18]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00414ed0
jmp 0x41ddc5
mov eax, dword [esi]
xor edx, edx
mov ecx, ebp
shr ecx, 0x10
cmp ebx, 0x114
setne dl
push edi
push ecx
push ebp
mov ecx, esi
lea edx, [edx*4 + 4]
push edx
call dword [eax + 0x274]
jmp 0x41dda7
cmp ebx, 0x218
ja 0x41dd06
je 0x41dcd5
lea eax, [ebx - 0x120]
cmp eax, 0xf6
ja case.0x41dd80.793
movzx eax, byte [eax + 0x41e07c]
jmp dword [eax*4 + 0x41e058]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
sub edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov dword [esp + 0x20], ecx
inc edx
lea ecx, [esp + 0x1c]
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.00419660
jmp 0x41dbc2
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
sub edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
sub eax, ecx
mov dword [esp + 0x20], ecx
inc edx
lea ecx, [esp + 0x1c]
inc eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004198a0
mov bl, al
test bl, bl
je 0x41ddad
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [edi], eax
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x28]
mov dword [edi + 8], eax
lea eax, [edx + ecx - 1]
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
jmp 0x41dda9
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
push ebp
movsx eax, di
push edx
push eax
mov ecx, esi
call fcn.0041b980
jmp 0x41dda7
push edi
push ebp
mov ecx, esi
call fcn.00419d20
jmp 0x41dda7
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
push ebp
movsx eax, di
push edx
push eax
push ebx
mov ecx, esi
call fcn.00419c00
mov bl, al
test bl, bl
jne 0x41ddc5
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x41dda9
cmp dword [esp + 0x2d4], 0x201
jne 0x41dda9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd0]
test al, al
je 0x41dda9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
jmp 0x41dda9
push edi
push ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00418e30
jmp 0x41dda7
push edi
mov ecx, esi
call fcn.00419010
jmp 0x41dda7
mov edx, ebp
shr edx, 0x10
cmp edx, 0x10
jne case.0x41dd80.793
movzx eax, bp
push edi
push eax
call fcn.004bd5b5
add esp, 4
push eax
mov ecx, esi
call fcn.00419f50
cmp eax, 0xffffffff
je case.0x41dd80.793
movzx eax, ax
or eax, 0x20000
jmp 0x41ddc1
lea ecx, [esp + 0x17]
push ecx
push edi
push ebp
mov ecx, esi
call fcn.0041b820
mov bl, al
test bl, bl
je 0x41d55e
mov al, byte [esp + 0x17]
test al, al
je 0x41d55e
mov dword [esp + 0x10], 0x424d5144
jmp 0x41dda9
cmp ebx, 0x312
ja 0x41dd6c
je 0x41dd5e
lea eax, [ebx - 0x233]
cmp eax, 0xde
ja case.0x41dd80.793
movzx edx, byte [eax + 0x41e188]
jmp dword [edx*4 + 0x41e174]
test byte [esi + 0x11c], 1
je case.0x41dd80.793
mov ecx, esi
call fcn.00419e20
jmp case.0x41dd80.793
push ebp
mov ecx, esi
call fcn.00418ec0
jmp 0x41dda7
mov ecx, esi
call fcn.00419100
jmp 0x41dda7
push ebp
mov ecx, esi
call fcn.00418ac0
jmp 0x41dda7
movzx eax, bp
push edi
push eax
mov ecx, esi
call fcn.0041c200
jmp 0x41dda7
lea eax, [ebx - 0x318]
cmp eax, 0xa0
ja case.0x41dd80.793
movzx ecx, byte [eax + 0x41e274]
jmp dword [ecx*4 + 0x41e268]
push ebp
mov ecx, esi
call fcn.00419410
jmp 0x41dda7
mov edx, edi
shr edx, 0x10
push ebp
movsx eax, dx
movsx ecx, di
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041a0c0
mov bl, al
test bl, bl
jne 0x41ddc5
mov ebx, dword [esp + 0x2d4]
mov edx, dword [esi]
push edi
push ebp
push ebx
mov ecx, esi
call dword [edx + 0x28c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c0
ret 0xc