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

Disassembly:
push 0xffffffffffffffff
push 0x482051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
lea ecx, [esi + 0x74]
push eax
push edx
call fcn.0041b390
mov eax, dword [esi + 0x70]
test eax, eax
je 0x419908
mov ecx, dword [esi + 0x70]
mov byte [esi + 0x6c], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x48]
push 0
push 0
push 0x40d
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x419930
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
inc edx
push edx
push esi
call fcn.00464c25
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
mov ecx, edi
mov dword [esp + 0x4c], edi
call fcn.00407db0
mov ebx, dword [0x4a9498]
mov ecx, edi
shl eax, 4
add eax, ebx
mov eax, dword [eax + 8]
mov dword [esi + 0x4c], eax
call fcn.00407db0
mov ecx, dword [0x4a9498]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 4]
push ecx
call fcn.00445a80
mov ebp, eax
add esp, 4
test ebp, ebp
setne al
mov byte [esp + 0x20], al
mov dword [esp + 0x24], ebp
lea ebx, [esi + 0x6c]
lea edx, [esp + 0x20]
cmp ebx, edx
mov dword [esp + 0x160], 0
je 0x4199c8
mov ecx, dword [ebx + 4]
cmp ecx, ebp
je 0x4199b5
cmp byte [ebx], 0
je 0x4199b1
test ecx, ecx
je 0x4199b1
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [esp + 0x20]
mov byte [ebx], al
jmp 0x4199bc
test al, al
je 0x4199bc
mov byte [ebx], 1
mov byte [esp + 0x20], 0
mov al, byte [esp + 0x20]
mov dword [ebx + 4], ebp
or ebx, 0xffffffff
test al, al
mov dword [esp + 0x160], ebx
je 0x4199e2
test ebp, ebp
je 0x4199e2
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x419a4f
lea ecx, [esp + 0x6d]
call fcn.00422500
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], al
call fcn.004015d0
lea ecx, [esp + 0x34]
mov dword [esp + 0x160], 1
push ecx
lea ecx, [esp + 0x54]
call fcn.00418da0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x164], 3
call fcn.004015d0
lea edx, [esp + 0x50]
push 0x498aa8
push edx
mov dword [esp + 0x58], vtable.TRuntimeError.0
mov dword [esp + 0x168], ebx
call fcn.0044f5c5
mov ecx, edi
call fcn.00407db0
mov edx, dword [0x4a9498]
push 0x402f50
shl eax, 4
add eax, edx
push 0x42d450
push 8
push 8
mov ebx, dword [eax + 8]
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x34], ebx
call fcn.00450600
push 0x402f50
push 0x42d450
push 8
lea ecx, [esp + 0xe4]
push 8
push ecx
mov dword [esp + 0x174], 4
call fcn.00450600
push 0x402f50
push 0x42d450
push 8
lea edx, [esp + 0x124]
push 8
push edx
mov byte [esp + 0x174], 5
call fcn.00450600
lea ebp, [esi + 0x74]
mov dword [esp + 0x160], 6
mov ecx, ebp
call fcn.0041aff0
cmp eax, ebx
jae 0x419b0e
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.0041aff0
mov edx, ebx
mov ecx, ebp
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0041b020
jmp 0x419b30
mov ecx, ebp
call fcn.0041aff0
cmp ebx, eax
jae 0x419b30
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 8]
lea edx, [ebx + ebx*2]
push eax
shl edx, 6
add edx, ecx
mov ecx, ebp
push edx
call fcn.0041b390
push 0x402f50
push 8
lea eax, [esp + 0x120]
push 8
push eax
mov dword [esp + 0x170], 8
call fcn.00450522
push 0x402f50
push 8
lea ecx, [esp + 0xe0]
push 8
push ecx
mov byte [esp + 0x170], 7
call fcn.00450522
push 0x402f50
push 8
lea edx, [esp + 0xa0]
push 8
push edx
mov dword [esp + 0x170], 0xffffffff
call fcn.00450522
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x18], ebp
jbe 0x419d94
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
jmp 0x419bb2
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
xor ebp, ebp
mov ecx, edi
call fcn.00407db0
mov edx, dword [0x4a9498]
mov ecx, dword [esp + 0x1c]
shl eax, 4
add eax, edx
mov esi, dword [esi + 0x78]
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0xc]
add eax, ecx
lea ebp, [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
lea esi, [eax + esi + 4]
jmp 0x419be9
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x20]
push eax
call fcn.00445490
mov edi, eax
add esp, 4
test edi, edi
setne bl
mov byte [esp + 0x70], bl
mov dword [esp + 0x74], edi
lea ecx, [esi - 4]
lea edx, [esp + 0x70]
cmp ecx, edx
mov dword [esp + 0x160], 9
je 0x419c41
mov ecx, dword [esi]
cmp ecx, edi
je 0x419c35
mov al, byte [esi - 4]
test al, al
je 0x419c30
test ecx, ecx
je 0x419c30
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esi - 4], bl
jmp 0x419c3d
test bl, bl
je 0x419c3d
mov byte [esi - 4], 1
xor bl, bl
mov dword [esi], edi
test bl, bl
mov dword [esp + 0x160], 0xffffffff
je 0x419c5b
test edi, edi
je 0x419c5b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
cmp dword [esi], 0
je 0x419dc6
mov eax, dword [ebp]
push eax
call fcn.00445490
mov edi, eax
add esp, 4
test edi, edi
setne bl
mov byte [esp + 0x34], bl
mov dword [esp + 0x38], edi
lea ebp, [esi + 0x3c]
lea eax, [esp + 0x34]
cmp ebp, eax
mov dword [esp + 0x160], 0xd
je 0x419cbd
mov ecx, dword [esi + 0x40]
cmp ecx, edi
je 0x419cb0
cmp byte [ebp], 0
je 0x419cab
test ecx, ecx
je 0x419cab
mov edx, dword [ecx]
call dword [edx + 4]
mov byte [ebp], bl
jmp 0x419cb8
test bl, bl
je 0x419cb8
mov byte [ebp], 1
xor bl, bl
mov dword [esi + 0x40], edi
or ebp, 0xffffffff
test bl, bl
mov dword [esp + 0x160], ebp
je 0x419cd6
test edi, edi
je 0x419cd6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x419e27
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x40]
push eax
call fcn.00445490
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
setne dl
mov byte [esp + 0x44], dl
lea eax, [esp + 0x44]
lea ecx, [esi + 0x7c]
push eax
mov dword [esp + 0x164], 0x11
call fcn.0041af60
mov al, byte [esp + 0x44]
mov dword [esp + 0x160], ebp
test al, al
je 0x419d32
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x419d32
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x419e84
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
inc eax
add edi, 4
add esi, 8
cmp eax, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edi
jb 0x419be5
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
inc eax
add esi, 0x6c
add edx, 0xc0
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
jb 0x419ba8
mov esi, dword [esp + 0x30]
xor ebp, ebp
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x40], ebp
push ebp
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 0x1c]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret
lea ecx, [esp + 0x6d]
call fcn.00422500
lea eax, [esp + 0x13]
lea ecx, [esp + 0x34]
push eax
call fcn.004155c0
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x164], 0xa
call fcn.00418da0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x164], 0xc
call fcn.004015d0
lea ecx, [esp + 0x50]
push 0x498aa8
push ecx
mov dword [esp + 0x58], vtable.TRuntimeError.0
mov dword [esp + 0x168], 0xffffffff
call fcn.0044f5c5
lea ecx, [esp + 0x6d]
call fcn.00422500
lea edx, [esp + 0x13]
lea ecx, [esp + 0x34]
push edx
call fcn.004155c0
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x164], 0xe
call fcn.00418da0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x164], 0x10
call fcn.004015d0
lea eax, [esp + 0x50]
push 0x498aa8
push eax
mov dword [esp + 0x58], vtable.TRuntimeError.0
mov dword [esp + 0x168], ebp
call fcn.0044f5c5
lea ecx, [esp + 0x78]
call fcn.00408780
lea ecx, [esp + 0x78]
push 0x498aa8
push ecx
call fcn.0044f5c5
nop
nop
nop
nop
mov ecx, dword [ecx + 0x48]
jmp 0x4198c0