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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9926
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov edx, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], 0
call eax
cmp dword [ebx + 0x5d8], 0
mov dword [esp + 0x38], eax
jne 0x443ef8
push 0x58
lea ecx, [esp + 0x9c]
push 0
push ecx
mov dword [esp + 0xa0], 0
call fcn.004a1210
mov ecx, dword [ebx + 0x1e8]
add esp, 0xc
push edi
lea esi, [esp + 0x98]
call fcn.00447b80
cmp dword [ebx + 0x56c], 0
mov eax, dword [ebx + 0x1c8]
mov cl, byte [ebx + 0x5e0]
setne dl
cmp dword [ebx + 0x5e8], 0
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x5d4]
mov byte [esp + 0xab], 1
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea edx, [edx + edx + 3]
mov byte [esp + 0xae], dl
mov dl, byte [ebx + 0x5e4]
mov byte [esp + 0xa8], cl
mov byte [esp + 0xa9], dl
je 0x443ed7
cmp dword [esp + 0x38], 1
jne 0x443ed7
mov dword [esp + 0xa4], 0x2bc
jmp 0x443ee4
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0xa4], eax
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x5d8], eax
mov edx, dword [ebx + 0x5d8]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1c0], 0
mov dword [esp + 0x6c], eax
je 0x443f1a
push edi
push ebx
call fcn.00443aa0
mov esi, dword [sym.imp.GDI32.dll_SetBkMode]
push 2
push edi
call esi
cmp dword [esp + 0x38], 1
jne 0x443fba
cmp dword [ebx + 0x5a0], 0
je 0x443f3e
push 1
push edi
call esi
lea eax, [ebx + 0x2ec]
call fcn.0046cc10
mov esi, eax
xor eax, eax
test esi, esi
je 0x443f6e
push 0x10
push eax
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [esp + 0x18], eax
call fcn.0049081d
mov eax, dword [esp + 0x18]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebx + 0x36c]
call fcn.0046cc10
mov esi, eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x443fa9
push 0x10
push 0
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [esp + 0x18], eax
call fcn.0049081d
add esp, 4
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x4440ca
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x443fd3
push 1
push edi
call esi
lea eax, [ebx + 0x26c]
jmp 0x444098
cmp eax, 3
jne 0x444033
cmp dword [ebx + 0x1b8], 0
jne 0x444049
push 1
push edi
call esi
lea eax, [ebx + 0x3ec]
call fcn.0046cc10
mov esi, eax
xor eax, eax
test esi, esi
je 0x444016
push 0x10
push eax
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [esp + 0x1c], eax
call fcn.0049081d
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x1e0], 0x7ffffff
je 0x444993
jmp 0x4440ca
test eax, eax
je 0x444084
cmp eax, 5
je 0x444084
cmp dword [ebx + 0x1b8], 0
je 0x4440ca
push 1
push edi
call esi
lea eax, [ebx + 0x4ec]
call fcn.0046cc10
mov esi, eax
test esi, esi
je 0x44407b
push 0x10
push 0
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [ebx + 0x1d8], eax
call fcn.0049081d
add esp, 4
mov ecx, dword [ebx + 0x1d8]
push ecx
jmp 0x4440c3
cmp dword [ebx + 0x5a0], 0
je 0x444092
push 1
push edi
call esi
lea eax, [ebx + 0x46c]
call fcn.0046cc10
mov esi, eax
xor eax, eax
test esi, esi
je 0x4440c2
push 0x10
push eax
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [esp + 0x1c], eax
call fcn.0049081d
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0xb8]
add eax, dword [ebx + 0xa8]
cmp dword [ebx + 0x190], 0
mov edx, dword [ebx + 0xac]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x5dc]
mov dword [esp + 0x1c], edx
je 0x444158
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4440f6
sub eax, edx
sar eax, 1
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490828
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], eax
test esi, esi
jle 0x44414e
mov edi, dword [esp + 0x34]
mov eax, 0x2a
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x34]
mov ecx, esi
mov edi, dword [esp + 0x10]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x5c4]
cmp dword [ebx + 0x18c], eax
jle 0x444175
test eax, eax
jle 0x444175
dec eax
mov dword [ebx + 0x18c], eax
cmp dword [ebx + 0x5f0], 0
je 0x444204
lea eax, [ebx + 0x1ec]
call fcn.0046cc10
mov esi, eax
test esi, esi
je 0x4441af
push 0x10
push 0
push esi
call fcn.0049eb95
add esp, 0xc
push esi
mov dword [ebx + 0x5f4], eax
call fcn.0049081d
add esp, 4
mov eax, dword [ebx + 0x5f4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
mov esi, eax
mov eax, dword [ebx + 0xa8]
add edx, eax
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xb4]
add eax, ecx
mov dword [esp + 0x78], ecx
push esi
lea ecx, [esp + 0x78]
push ecx
push edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x1b8], 0
je 0x444266
mov eax, ebx
call fcn.00443d60
test eax, eax
je 0x444266
cmp dword [ebx + 0x584], 0xffffffff
lea esi, [eax + 8]
mov ecx, 7
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
jne 0x444239
mov dword [ebx + 0x584], ecx
cmp dword [ebx + 0x2c], 2
jne 0x444266
mov eax, dword [ebx + 0xb4]
cdq
idiv dword [esp + 0x44]
mov edx, dword [ebx + 0x18c]
lea esi, [edx + eax]
cmp esi, ecx
jg 0x44425c
sub ecx, eax
inc ecx
jmp 0x444260
cmp edx, ecx
jle 0x444266
mov dword [ebx + 0x18c], ecx
mov eax, dword [ebx + 0x5bc]
mov dword [ebx + 0x5a4], 0
test eax, eax
je 0x4447ca
mov edi, edi
mov ecx, eax
mov eax, dword [eax]
lea esi, [ecx + 8]
mov ecx, 7
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x3c]
cmp edx, dword [ebx + 0x18c]
mov dword [esp + 0x30], eax
jl 0x4447b6
mov edx, dword [ebx + 0xb4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
add edx, dword [ebx + 0xac]
add eax, ecx
cmp eax, edx
mov dword [esp + 0x70], eax
jg 0x4447c0
mov eax, dword [ebx + 0x1b0]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
cmp eax, 1
jne 0x44436c
test esi, esi
je 0x44469c
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x444334
cmp eax, 0x384
jne 0x44469c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [edx + edi*2]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, dword [ebx + 0xbc]
push edx
add eax, dword [esp + 0x2c]
push 4
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
jmp 0x44469c
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0xbc]
push 0
push edx
lea edx, [ecx + edi*2]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push ecx
sub eax, esi
add eax, dword [esp + 0x38]
push 4
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
jmp 0x44469c
cmp eax, 2
jne 0x44441e
test esi, esi
je 0x44469c
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x4443d8
cmp eax, 0x384
jne 0x44469c
mov eax, dword [ebx + 0xbc]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
push 0
push edx
sar ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x24]
lea edx, [ecx + edi*2]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
push 4
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
jmp 0x44469c
mov eax, dword [ebx + 0xbc]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
push 0
sar eax, 1
push edx
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x28]
add ecx, dword [esp + 0x30]
lea edx, [eax + edi*2]
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push 4
push edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
jmp 0x44469c
cmp eax, 3
jne 0x444555
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov esi, dword [ebx + 0xbc]
sub esi, dword [esp + 0x40]
push ecx
lea eax, [edx + edi*2]
call fcn.004449e0
xor ecx, ecx
cmp dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x444465
cmp eax, 1
jbe 0x444465
cmp esi, ecx
jbe 0x444465
lea edi, [eax - 1]
mov eax, esi
xor edx, edx
div edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
sub eax, ecx
add ecx, edx
mov edx, dword [esp + 0x20]
lea edi, [edx + ecx*2]
xor esi, esi
cmp word [edi], 0x20
lea ecx, [esi + 1]
jne 0x44449d
nop
test eax, eax
jbe 0x44449d
inc esi
dec eax
cmp word [edi + esi*2], 0x20
je 0x444490
cmp word [edi + esi*2], 0x20
je 0x4444b9
test eax, eax
jbe 0x4444b5
inc esi
xor ecx, ecx
dec eax
cmp word [edi + esi*2], 0x20
jne 0x4444a4
jmp 0x4444bb
test ecx, ecx
je 0x4444bb
xor esi, esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push eax
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x4444ff
cmp eax, 0x5a
jne 0x444525
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push 0
push esi
push edi
push edx
mov edx, dword [esp + 0x20]
push 4
push eax
push ecx
push edx
jmp 0x44451f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push 0
push esi
push edi
push eax
mov eax, dword [esp + 0x24]
push 4
push ecx
mov ecx, dword [esp + 0x28]
add eax, edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], esi
add edx, eax
add dword [esp + 0x14], edx
test esi, esi
je 0x44469c
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x24], ecx
jl 0x44446d
jmp 0x44469c
mov eax, dword [ebx + 0x5f8]
mov ecx, dword [ebx + 0x5fc]
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x444577
mov dword [esp + 0x14], ecx
jle 0x444577
mov dword [esp + 0x24], eax
jmp 0x44457d
mov eax, ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x14], eax
jne 0x44458e
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
cmp eax, edi
mov ecx, dword [esp + 0x54]
jl 0x44459f
lea edx, [edi + ecx]
cmp dword [esp + 0x14], edx
jle 0x4445ac
lea edx, [edi + ecx]
cmp eax, edx
jg 0x4445b1
cmp dword [esp + 0x14], edi
jl 0x4445b1
mov esi, 1
mov edx, dword [esp + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [edx + edi*2]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push 4
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
test esi, esi
je 0x44469c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov esi, eax
sub esi, edi
sub ecx, eax
mov dword [esp + 0x18], ecx
test esi, esi
jge 0x444600
sub eax, edi
add ecx, eax
mov dword [esp + 0x18], ecx
xor esi, esi
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x74]
push ecx
push esi
lea eax, [edx + edi*2]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov ecx, dword [esp + 0x54]
lea eax, [edi + ecx]
cmp dword [esp + 0x24], eax
jle 0x444644
mov eax, ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x84]
push edx
sub eax, esi
push eax
mov eax, dword [esp + 0x18]
add esi, edi
lea edx, [ecx + esi*2]
push edx
push eax
jmp 0x444660
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
push ecx
push edx
mov edx, dword [esp + 0x18]
add esi, edi
lea ecx, [eax + esi*2]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
push 0x550009
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebx + 0x194], 0
je 0x4447aa
cmp dword [ebx + 0x1b8], 0
je 0x4447aa
mov eax, dword [ebx + 0x184]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jl 0x4447aa
mov esi, dword [esp + 0x54]
lea edx, [ecx + esi]
cmp eax, edx
jge 0x4446dc
cmp dword [esp + 0x4c], 0
jne 0x4446e6
cmp eax, edx
jle 0x4446e6
test esi, esi
jne 0x4447aa
sub eax, ecx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
test eax, eax
je 0x4447aa
mov eax, dword [ebx + 0x1b0]
cmp eax, 1
jne 0x444726
mov esi, dword [ebx + 0xbc]
sub esi, dword [esp + 0x40]
add esi, dword [ebx + 0xb8]
jmp 0x444751
cmp eax, 2
jne 0x44474b
mov eax, dword [ebx + 0xbc]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x40]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
add esi, dword [ebx + 0xb8]
jmp 0x444751
mov esi, dword [ebx + 0xb8]
add esi, dword [esp + 0x64]
mov edi, dword [esp + 0x1c]
add esi, dword [ebx + 0xa8]
cmp dword [ebx + 0x590], 0
je 0x444789
mov eax, dword [ebx + 0x1c8]
mov ecx, dword [esp + 0x10]
push 0x550009
push 0
push 0
push 0
push eax
push 1
push edi
push esi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebx + 0x1c8]
add edx, edi
mov dword [ebx + 0x1a0], esi
inc esi
mov dword [ebx + 0x1a4], edi
mov dword [ebx + 0x1ac], edx
mov dword [ebx + 0x1a8], esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x444280
jmp 0x4447ca
mov dword [ebx + 0x5a4], 1
mov ecx, dword [esp + 0x38]
cmp ecx, 1
jne 0x4447dc
cmp dword [ebx + 0x5ac], 0
ja 0x4447e9
cmp dword [ebx + 0x5b0], 0
jbe 0x444877
mov eax, dword [ebx + 0x5b0]
cmp ecx, 1
jne 0x4447fa
mov eax, dword [ebx + 0x5ac]
mov ecx, dword [ebx + 0x5a8]
push ecx
push eax
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, dword [esp + 0x10]
mov esi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0xb0]
lea ecx, [edx + eax - 1]
mov edx, dword [ebx + 0xb4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0xac]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
add ecx, edx
mov dword [esp + 0x5c], eax
push 5
lea edx, [ecx - 1]
lea eax, [esp + 0x40]
push eax
dec ecx
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], edx
call dword [sym.imp.GDI32.dll_Polyline]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x4448ff
push eax
lea ecx, [esp + 0x1c]
call fcn.004019b0
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10c], 0
push ecx
mov ecx, dword [0x4ee74c]
call fcn.0043de40
mov esi, eax
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4448d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4448ff
xor edi, edi
cmp dword [ebx + 0x18c], edi
jle 0x4448e8
mov edi, 1
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
push edi
mov ecx, esi
call eax
cmp eax, edi
je 0x4448ff
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov eax, dword [ebx + 0x598]
test eax, eax
je 0x444982
push eax
lea ecx, [esp + 0x34]
call fcn.004019b0
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x10c], 1
push ecx
mov ecx, dword [0x4ee74c]
call fcn.0043de40
mov esi, eax
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44495d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x444982
mov edx, dword [esi]
mov eax, dword [ebx + 0x5a4]
mov edx, dword [edx + 0x68]
push eax
mov ecx, esi
call edx
cmp eax, dword [ebx + 0x5a4]
je 0x444982
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x444993
push eax
call fcn.0049081d
add esp, 4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov dword [ebx + 0x1c0], 0
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0049dc2a
mov esp, ebp
pop ebp
ret 0xc