Function at 0x48cff0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
mov eax, dword [0x5bfaa8]
test eax, eax
push esi
mov esi, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
je 0x48d039
mov eax, dword [0x5ed408]
test eax, eax
je 0x48d019
mov eax, dword [0x5ed40c]
test eax, eax
jne 0x48d035
mov eax, dword [0x5ed410]
test eax, eax
jne 0x48d039
mov dword [0x5ed410], 1
call fcn.0048c3e0
test eax, eax
je 0x48d039
test esi, esi
jne 0x48d042
xor eax, eax
pop esi
add esp, 0x28
ret 0x10
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [0x5ed418]
lea esp, [esp]
test ecx, ecx
jne 0x48d260
push 6
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
mov ebx, eax
test ebx, ebx
je 0x48dc70
mov eax, dword [0x5ed418]
test eax, eax
jne 0x48d0b4
push 0x20198
call fcn.00591118
mov edi, eax
add esp, 4
xor eax, eax
test edi, edi
mov dword [0x5ed418], edi
je 0x48dc72
mov ecx, 0x8066
rep stosd dword es:[edi], eax
mov dword [0x5ed41c], 1
mov eax, dword [0x5ed418]
cmp dword [eax], ebx
je 0x48d291
mov eax, dword [0x5ed40c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x40], edi
je 0x48d0e1
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push ebx
push esi
push eax
call dword [ecx + 0x1c]
cmp eax, edi
jge 0x48d0fb
mov eax, dword [0x5ed408]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push ebx
push esi
push eax
call dword [ecx + 0x1c]
cmp eax, edi
jl 0x48dc70
mov eax, dword [0x5ed418]
mov ecx, dword [eax + 0x108]
cmp ecx, 1
jne 0x48d120
mov ecx, dword [0x5ed408]
cmp ecx, edi
je 0x48d14d
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
jmp 0x48d148
cmp ecx, 2
jne 0x48d13a
mov ecx, dword [0x5ed40c]
cmp ecx, edi
je 0x48d14d
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x20]
jmp 0x48d148
cmp ecx, 3
jne 0x48d14d
mov ecx, dword [eax]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x5ed418]
mov dword [eax], ebx
mov ecx, dword [0x5ed418]
add ecx, 4
mov edx, 0x104
call fcn.00420e60
mov edx, dword [0x5ed418]
mov dword [edx + 0x108], edi
mov eax, dword [0x5ed418]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10c], ecx
mov edx, dword [0x5ed418]
mov eax, dword [edx + 0x110]
cmp eax, edi
je 0x48d196
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [0x5ed418]
xor ebx, ebx
mov dword [eax + 0x110], ebx
mov ecx, dword [0x5ed418]
mov dword [ecx + 0x114], ebx
mov edi, dword [0x5ed418]
xor eax, eax
mov ecx, 0xf
add edi, 0x118
rep stosd dword es:[edi], eax
mov eax, dword [0x5ed418]
lea edx, [eax + 0x118]
mov eax, dword [eax]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x48dc70
mov eax, dword [0x5ed418]
lea ecx, [eax + 0x134]
lea edx, [eax + 4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x48d1f1
mov edi, dword [0x5ed418]
add edi, 0x154
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov edi, dword [0x5ed418]
add edi, 0x18c
mov ecx, 0x7fff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5ed418]
mov dword [ecx + 0x20190], eax
mov edx, dword [0x5ed418]
mov dword [edx + 0x20194], ebx
mov eax, dword [0x5ed418]
add eax, 0x154
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
xor edx, edx
mov ecx, esi
call fcn.0048c740
jmp 0x48d291
cmp ecx, 1
jne 0x48dc3e
mov ecx, dword [eax]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x5ed418]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x20190], eax
mov ecx, dword [0x5ed418]
xor eax, eax
mov dword [ecx + 0x20194], eax
mov ebx, dword [esp + 0x14]
xor eax, eax
cmp ebx, eax
je 0x48dc70
cmp dword [0x5ed418], eax
je 0x48dc70
cmp dword [0x5ed41c], 1
jl 0x48dc70
lea edx, [esp + 0x40]
push edx
push ebp
mov edx, ebx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0048cac0
mov edi, dword [esp + 0x40]
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x10], eax
jl 0x48d380
cmp eax, ecx
jle 0x48d380
cmp dword [esp + 0x48], ecx
je 0x48d313
sub ebp, eax
lea edx, [ebx + eax*2]
xor eax, eax
cmp ebp, ecx
setle al
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ebp
inc eax
mov ecx, eax
jmp 0x48d057
xor edx, edx
mov ecx, edi
call fcn.0048c900
test eax, eax
jne 0x48db75
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
jle 0x48d352
mov ax, word [esi + ecx*2]
cmp ax, 0x20
je 0x48d34d
movzx eax, ax
cmp eax, 0x1fffe
jge 0x48d34d
mov byte [eax + 0x5cd408], 1
inc ecx
cmp ecx, ebx
jl 0x48d332
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48dbe3
lea eax, [esi + ebx*2]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sub eax, ebx
xor ecx, ecx
test eax, eax
setle cl
mov dword [esp + 0x3c], eax
inc ecx
jmp 0x48d053
mov eax, dword [0x5ed40c]
cmp eax, ecx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x5ed418]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov edx, dword [edx + 0x10c]
push edx
push ebp
push ebx
jne 0x48d3af
mov eax, dword [0x5ed408]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x48d324
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x48d328
mov edi, dword [0x5ed41c]
mov edx, dword [esp + 0x20]
mov eax, dword [0x5ed418]
xor ebp, ebp
test edi, edi
mov dword [esp + 0x40], ebp
jle 0x48d403
lea ecx, [eax + 0x10c]
test edx, edx
je 0x48d3f4
test dword [ecx], edx
jne 0x48d4d6
inc ebp
add ecx, 0x20198
cmp ebp, edi
jl 0x48d3e8
mov dword [esp + 0x40], ebp
mov ecx, dword [0x5ed408]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [eax]
mov ebx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push eax
push edx
push edi
push ecx
mov esi, 1
call dword [ebx + 0x20]
test eax, eax
jl 0x48d432
cmp dword [esp + 0x1c], ebp
jne 0x48d473
mov eax, dword [0x5ed40c]
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x48d324
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
movzx edx, word [edx]
push edx
mov edx, dword [esp + 0x28]
push edx
push edi
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x48d5c4
cmp dword [esp + 0x1c], ebp
je 0x48d5c4
mov esi, 2
mov eax, dword [0x5ed41c]
mov ebx, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x40], ebx
mov dword [0x5ed41c], eax
jle 0x48d6ba
mov ecx, dword [0x5ed418]
mov edi, 0xc69ed0
mov dword [0x5ed41c], 0x64
mov eax, dword [edi + ecx]
cmp eax, 1
mov ebx, 0x63
mov dword [esp + 0x40], ebx
jne 0x48d5cd
mov eax, dword [0x5ed408]
cmp eax, ebp
je 0x48d602
mov ecx, dword [ecx + 0xc69dc8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
jmp 0x48d5fc
mov esi, dword [esp + 0x14]
xor edx, edx
test ebx, ebx
mov dword [esp + 0x40], ebp
jle 0x48d51d
mov edi, ebp
imul edi, edi, 0x20198
lea esp, [esp]
mov cx, word [esi + edx*2]
cmp cx, 0x20
je 0x48d518
movzx ecx, cx
cmp ecx, 0x1fffe
jge 0x48d518
add ecx, edi
mov byte [ecx + eax + 0x18c], 1
mov ebx, dword [esp + 0x10]
mov eax, dword [0x5ed418]
inc edx
cmp edx, ebx
jl 0x48d4f0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x48d547
mov ebp, dword [esp + 0x3c]
sub ebp, ebx
xor ecx, ecx
test ebp, ebp
setle cl
lea edx, [esi + ebx*2]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ebp
inc ecx
jmp 0x48d060
xor edx, edx
mov ecx, ebp
call fcn.0048c900
test eax, eax
je 0x48d324
mov eax, dword [0x5ed418]
mov edi, dword [esp + 0x18]
mov esi, ebp
imul esi, esi, 0x20198
mov ecx, dword [esi + eax]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x5ed418]
mov eax, dword [esp + 0x30]
mov dword [esi + edx + 0x20190], eax
mov ecx, dword [0x5ed418]
xor eax, eax
mov dword [esi + ecx + 0x20194], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
sub eax, ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx*2]
mov ecx, edi
call fcn.0048cac0
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
add ecx, eax
pop ebx
mov eax, ecx
pop esi
add esp, 0x28
ret 0x10
mov dword [esp + 0x1c], ebp
jmp 0x48d324
cmp eax, 2
jne 0x48d5ea
mov eax, dword [0x5ed40c]
cmp eax, ebp
je 0x48d602
mov ecx, dword [ecx + 0xc69dc8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
jmp 0x48d5fc
cmp eax, 3
jne 0x48d602
mov edx, dword [ecx + 0xc69dc8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x5ed418]
mov dword [ecx + 0xc69dc8], ebp
mov ecx, dword [0x5ed418]
add ecx, 0xc69dcc
mov edx, 0x104
call fcn.00420e60
mov eax, dword [0x5ed418]
mov dword [edi + eax], ebp
mov ecx, dword [0x5ed418]
mov dword [ecx + 0xc69ed4], ebp
mov edx, dword [0x5ed418]
mov edi, 0xc69ed8
mov eax, dword [edi + edx]
cmp eax, ebp
je 0x48d64d
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [0x5ed418]
mov dword [edi + eax], ebp
mov ecx, dword [0x5ed418]
mov dword [ecx + 0xc69edc], ebp
mov edi, dword [0x5ed418]
add edi, 0xc69ee0
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov edi, dword [0x5ed418]
add edi, 0xc69f1c
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov edi, dword [0x5ed418]
add edi, 0xc69f54
mov ecx, 0x7fff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x5ed418]
mov dword [edx + 0xc89f58], ebp
mov eax, dword [0x5ed418]
mov dword [eax + 0xc89f5c], ebp
mov eax, dword [0x5ed41c]
mov ecx, dword [0x5ed418]
imul eax, eax, 0x20198
push eax
push ecx
call fcn.00593194
mov edx, eax
add esp, 8
cmp edx, ebp
jne 0x48d733
cmp esi, 1
jne 0x48d6f8
mov eax, dword [0x5ed408]
cmp eax, ebp
je 0x48d324
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
jmp 0x48d324
cmp esi, 2
jne 0x48d71a
mov eax, dword [0x5ed40c]
cmp eax, ebp
je 0x48d324
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
jmp 0x48d324
cmp esi, 3
jne 0x48d324
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x48d324
mov ebp, ebx
imul ebp, ebp, 0x20198
mov dword [0x5ed418], edx
lea edi, [edx + ebp]
xor eax, eax
mov ecx, 0x8066
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x5ed418]
mov dword [eax + ebp], ecx
mov edx, dword [0x5ed418]
mov dword [edx + ebp + 0x108], esi
mov edx, 1
mov ecx, ebx
call fcn.0048c900
mov eax, dword [0x5ed418]
mov ecx, dword [eax + ebp]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x5ed40c]
test eax, eax
mov dword [esp + 0x24], 0
je 0x48d7b5
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x5ed418]
mov edx, dword [edx + ebp]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x48d7eb
mov eax, dword [0x5ed408]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x5ed418]
mov edx, dword [edx + ebp]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x48d7eb
mov eax, dword [esp + 0x20]
mov ecx, dword [0x5ed418]
mov dword [ecx + ebp + 0x10c], eax
jmp 0x48d7fb
mov edx, dword [esp + 0x24]
mov eax, dword [0x5ed418]
mov dword [eax + ebp + 0x10c], edx
mov ecx, dword [0x5ed418]
xor eax, eax
mov dword [ecx + ebp + 0x110], eax
mov edx, dword [0x5ed418]
mov dword [edx + ebp + 0x114], eax
mov eax, dword [0x5ed418]
lea esi, [eax + 0x118]
lea edi, [eax + ebp + 0x118]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x5ed418]
xor eax, eax
lea edi, [edx + ebp + 0x154]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov edx, dword [0x5ed418]
lea edi, [edx + ebp + 0x18c]
mov ecx, 0x7fff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
stosw word es:[edi], ax
mov eax, dword [0x5ed418]
mov dword [eax + ebp + 0x20190], ecx
mov edx, dword [0x5ed418]
xor eax, eax
mov dword [edx + ebp + 0x20194], eax
mov eax, dword [0x5ed418]
mov edx, dword [esp + 0x18]
lea ecx, [eax + ebp + 0x154]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.0048c740
test ebx, ebx
mov eax, dword [0x5ed418]
mov dword [esp + 0x28], 0
jle 0x48dafa
xor esi, esi
jmp 0x48d8c0
mov ecx, dword [esi + eax + 0x10c]
cmp ecx, dword [eax + ebp + 0x10c]
jne 0x48d965
mov edx, dword [esi + eax + 0x114]
cmp edx, dword [eax + ebp + 0x114]
jne 0x48d965
lea ecx, [eax + ebp + 4]
push ecx
lea edx, [esi + eax + 4]
push edx
call fcn.005a299c
add esp, 8
test eax, eax
mov eax, dword [0x5ed418]
jne 0x48d965
mov ecx, dword [esi + eax + 0x114]
xor edi, edi
test ecx, ecx
jbe 0x48d95c
mov edx, dword [esi + eax + 0x110]
mov ecx, dword [eax + ebp + 0x110]
mov ebx, dword [esi + eax + 0x110]
add edx, 2
sub ebx, ecx
mov dword [esp + 0x2c], ebx
jmp 0x48d934
mov ebx, dword [esp + 0x2c]
mov bx, word [ebx + ecx]
cmp bx, word [ecx]
jne 0x48d958
mov bx, word [edx]
cmp bx, word [ecx + 2]
jne 0x48d958
mov ebx, dword [esi + eax + 0x114]
inc edi
add edx, 4
add ecx, 4
cmp edi, ebx
jb 0x48d930
mov ebx, dword [esp + 0x40]
cmp edi, dword [esi + eax + 0x114]
je 0x48d981
mov ecx, dword [esp + 0x28]
inc ecx
add esi, 0x20198
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jl 0x48d8c0
jmp 0x48dafa
mov ebx, dword [esp + 0x28]
mov ecx, ebx
imul ecx, ecx, 0x20198
mov edi, dword [ecx + eax]
mov esi, dword [ecx + eax + 0x108]
lea edx, [ecx + eax + 0x108]
mov eax, dword [eax + ebp + 0x108]
mov dword [edx], eax
mov eax, dword [0x5ed418]
mov edx, dword [eax + ebp]
mov dword [ecx + eax], edx
mov eax, dword [0x5ed418]
mov dword [eax + ebp + 0x108], esi
mov ecx, dword [0x5ed418]
mov dword [ecx + ebp], edi
mov ecx, dword [0x5ed418]
mov eax, dword [ecx + ebp + 0x108]
cmp eax, 1
jne 0x48d9f6
mov eax, dword [0x5ed408]
xor esi, esi
cmp eax, esi
je 0x48da2f
mov ecx, dword [ecx + ebp]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [0x5ed418]
jmp 0x48da2f
cmp eax, 2
jne 0x48da18
mov eax, dword [0x5ed40c]
xor esi, esi
cmp eax, esi
je 0x48da2f
mov ecx, dword [ecx + ebp]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
mov ecx, dword [0x5ed418]
jmp 0x48da2f
cmp eax, 3
jne 0x48da2d
mov edx, dword [ecx + ebp]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x5ed418]
xor esi, esi
mov dword [ecx + ebp], esi
mov eax, dword [0x5ed418]
lea ecx, [eax + ebp + 4]
mov edx, 0x104
call fcn.00420e60
mov ecx, dword [0x5ed418]
mov dword [ecx + ebp + 0x10c], esi
mov edx, dword [0x5ed418]
mov eax, dword [edx + ebp + 0x110]
cmp eax, esi
je 0x48da6c
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [0x5ed418]
mov dword [eax + ebp + 0x110], esi
mov ecx, dword [0x5ed418]
mov dword [ecx + ebp + 0x114], esi
mov edx, dword [0x5ed418]
mov dword [edx + ebp + 0x108], esi
mov edx, dword [0x5ed418]
xor eax, eax
lea edi, [edx + ebp + 0x118]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov edx, dword [0x5ed418]
lea edi, [edx + ebp + 0x154]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov edx, dword [0x5ed418]
mov ecx, 0x7fff
lea edi, [edx + ebp + 0x18c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5ed418]
mov dword [eax + ebp + 0x20190], esi
mov ecx, dword [0x5ed418]
mov dword [ecx + ebp + 0x20194], esi
dec dword [0x5ed41c]
mov eax, dword [0x5ed418]
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor edi, edi
test esi, esi
jle 0x48db45
jmp 0x48db10
mov dx, word [ecx + edi*2]
cmp dx, 0x20
je 0x48db40
movzx edx, dx
cmp edx, 0x1fffe
jge 0x48db40
mov esi, ebx
imul esi, esi, 0x20198
add esi, edx
mov byte [esi + eax + 0x18c], 1
mov esi, dword [esp + 0x10]
mov eax, dword [0x5ed418]
inc edi
cmp edi, esi
jl 0x48db10
mov edx, dword [esp + 0x48]
test edx, edx
je 0x48dbb9
lea edx, [ecx + esi*2]
mov ecx, dword [esp + 0x3c]
sub ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
xor edx, edx
test ecx, ecx
setle dl
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0x3c]
inc edx
mov ecx, edx
jmp 0x48d060
mov ecx, dword [0x5ed418]
imul edi, edi, 0x20198
mov edx, dword [edi + ecx]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x5ed418]
mov ecx, dword [esp + 0x30]
mov dword [edi + eax + 0x20190], ecx
mov edx, dword [0x5ed418]
xor eax, eax
mov dword [edi + edx + 0x20194], eax
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
push edx
sub eax, esi
lea edx, [ecx + esi*2]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0048cac0
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
add ecx, eax
pop ebx
mov eax, ecx
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [0x5ed418]
mov ecx, dword [eax]
mov edi, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x5ed418]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x20190], eax
mov ecx, dword [0x5ed418]
xor eax, eax
mov dword [ecx + 0x20194], eax
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
mov edx, esi
mov ecx, edi
call fcn.0048cac0
test eax, eax
jg 0x48dc72
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x28
ret 0x10
cmp ecx, 2
jne 0x48dc70
mov ecx, dword [eax]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x5ed418]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x20190], eax
mov ecx, dword [0x5ed418]
xor eax, eax
mov dword [ecx + 0x20194], eax
call fcn.0048ce00
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret 0x10