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

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esi + 0x60]
mov dword [esi + 0x5c], eax
call fcn.00634a96
push 0
mov ebx, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4c9127
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebp
push 0x5a
push edi
mov ebx, eax
call ebp
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebx, 0xc0
jl 0x4c9327
push 2
push 0x2a
lea edi, [esi + 0xa4]
push 0x11
push 0x1a
push 0x20
mov ecx, edi
call fcn.00621016
push edi
push 0x182
call fcn.00502700
push edi
push 0x183
call fcn.00502700
push edi
push 0x184
call fcn.00502700
push edi
push 0x185
call fcn.00502700
push edi
push 0x186
call fcn.00502700
push edi
push 0x187
call fcn.00502700
push edi
push 0x188
call fcn.00502700
push edi
push 0x189
call fcn.00502700
add esp, 0x40
push edi
push 0x18a
call fcn.00502700
push edi
push 0x18b
call fcn.00502700
push edi
push 0x18c
call fcn.00502700
push edi
push 0x18d
call fcn.00502700
push edi
push 0x18e
call fcn.00502700
push edi
push 0x18f
call fcn.00502700
push edi
push 0x190
call fcn.00502700
push edi
push 0x191
call fcn.00502700
add esp, 0x40
push edi
push 0x192
call fcn.00502700
push edi
push 0x193
call fcn.00502700
push edi
push 0x194
call fcn.00502700
push edi
push 0x195
call fcn.00502700
push edi
push 0x196
call fcn.00502700
push edi
push 0x197
call fcn.00502700
push edi
push 0x198
call fcn.00502700
push edi
push 0x199
call fcn.00502700
add esp, 0x40
push edi
push 0x19a
call fcn.00502700
push edi
push 0x19b
call fcn.00502700
push edi
push 0x19c
call fcn.00502700
push edi
push 0x19d
call fcn.00502700
push edi
push 0x19e
call fcn.00502700
push edi
push 0x19f
call fcn.00502700
push edi
push 0x1a0
call fcn.00502700
push edi
push 0x1a1
call fcn.00502700
add esp, 0x40
push edi
push 0x1a2
call fcn.00502700
push edi
push 0x1a3
call fcn.00502700
push edi
push 0x1a4
call fcn.00502700
push edi
push 0x1a5
call fcn.00502700
push edi
push 0x1a6
call fcn.00502700
push edi
push 0x1a7
call fcn.00502700
push edi
push 0x1a8
call fcn.00502700
push edi
push 0x1a9
call fcn.00502700
add esp, 0x40
push edi
push 0x1aa
call fcn.00502700
push edi
push 0x1ab
jmp 0x4c970a
push 2
cmp ebx, 0x90
push 0x2a
lea edi, [esi + 0xa4]
push 0x11
jl 0x4c9527
push 0x13
push 0x18
mov ecx, edi
call fcn.00621016
push edi
push 0x1ac
call fcn.00502700
push edi
push 0x1ad
call fcn.00502700
push edi
push 0x1ae
call fcn.00502700
push edi
push 0x1af
call fcn.00502700
push edi
push 0x1b0
call fcn.00502700
push edi
push 0x1b1
call fcn.00502700
push edi
push 0x1b2
call fcn.00502700
push edi
push 0x1b3
call fcn.00502700
add esp, 0x40
push edi
push 0x1b4
call fcn.00502700
push edi
push 0x1b5
call fcn.00502700
push edi
push 0x1b6
call fcn.00502700
push edi
push 0x1b7
call fcn.00502700
push edi
push 0x1b8
call fcn.00502700
push edi
push 0x1b9
call fcn.00502700
push edi
push 0x1ba
call fcn.00502700
push edi
push 0x1bb
call fcn.00502700
add esp, 0x40
push edi
push 0x1bc
call fcn.00502700
push edi
push 0x1bd
call fcn.00502700
push edi
push 0x1be
call fcn.00502700
push edi
push 0x1bf
call fcn.00502700
push edi
push 0x1c0
call fcn.00502700
push edi
push 0x1c1
call fcn.00502700
push edi
push 0x1c2
call fcn.00502700
push edi
push 0x1c3
call fcn.00502700
add esp, 0x40
push edi
push 0x1c4
call fcn.00502700
push edi
push 0x1c5
call fcn.00502700
push edi
push 0x1c6
call fcn.00502700
push edi
push 0x1c7
call fcn.00502700
push edi
push 0x1c8
call fcn.00502700
push edi
push 0x1c9
call fcn.00502700
push edi
push 0x1ca
call fcn.00502700
push edi
push 0x1cb
call fcn.00502700
add esp, 0x40
push edi
push 0x1cc
call fcn.00502700
push edi
push 0x1cd
call fcn.00502700
push edi
push 0x1ce
call fcn.00502700
push edi
push 0x1cf
call fcn.00502700
push edi
push 0x1d0
call fcn.00502700
push edi
push 0x1d1
call fcn.00502700
push edi
push 0x1d2
call fcn.00502700
push edi
push 0x1d3
call fcn.00502700
add esp, 0x40
push edi
push 0x1d4
call fcn.00502700
push edi
push 0x1d5
jmp 0x4c970a
push 0xd
push 0x10
mov ecx, edi
call fcn.00621016
push edi
push 0xc6
call fcn.00502700
push edi
push 0xd7
call fcn.00502700
push edi
push 0xc7
call fcn.00502700
push edi
push 0xd6
call fcn.00502700
push edi
push 0xc8
call fcn.00502700
push edi
push 0xda
call fcn.00502700
push edi
push 0xc9
call fcn.00502700
push edi
push 0xdb
call fcn.00502700
add esp, 0x40
push edi
push 0xca
call fcn.00502700
push edi
push 0xd8
call fcn.00502700
push edi
push 0xcb
call fcn.00502700
push edi
push 0xd9
call fcn.00502700
push edi
push 0xd2
call fcn.00502700
push edi
push 0xdf
call fcn.00502700
push edi
push 0xd3
call fcn.00502700
push edi
push 0xdc
call fcn.00502700
add esp, 0x40
push edi
push 0xd4
call fcn.00502700
push edi
push 0xdd
call fcn.00502700
push edi
push 0xd5
call fcn.00502700
push edi
push 0xde
call fcn.00502700
push edi
push 0xe0
call fcn.00502700
push edi
push 0xe1
call fcn.00502700
push edi
push 0xf9
call fcn.00502700
push edi
push 0xfa
call fcn.00502700
add esp, 0x40
push edi
push 0xfb
call fcn.00502700
push edi
push 0xfc
call fcn.00502700
push edi
push 0x137
call fcn.00502700
push edi
push 0x139
call fcn.00502700
push edi
push 0x138
call fcn.00502700
push edi
push 0x13a
call fcn.00502700
push edi
push 0x13b
call fcn.00502700
push edi
push 0x13d
call fcn.00502700
add esp, 0x40
push edi
push 0x13c
call fcn.00502700
push edi
push 0x13e
call fcn.00502700
push edi
push 0x13f
call fcn.00502700
push edi
push 0x141
call fcn.00502700
push edi
push 0x140
call fcn.00502700
push edi
push 0x142
call fcn.00502700
push edi
push 0x143
call fcn.00502700
push edi
push 0x145
call fcn.00502700
add esp, 0x40
push edi
push 0x144
call fcn.00502700
push edi
push 0x146
call fcn.00502700
xor ebx, ebx
add esp, 0x10
cmp edi, ebx
jne 0x4c971c
xor edi, edi
jmp 0x4c971f
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x1109
push ecx
call edi
push eax
call fcn.00620fe3
mov edx, dword [0x6fdc40]
push 0xffff0002
push 0xffff0000
push 1
push ebx
push edx
mov ecx, esi
call fcn.004c8f40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.00620d07
mov eax, dword [0x6fdc3c]
push 0xffff0002
push 0xffff0000
push 5
push 4
push eax
mov ecx, esi
call fcn.004c8f40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.00620d07
mov ecx, dword [0x6fdc38]
push 0xffff0002
push 0xffff0000
push 9
push 8
push ecx
mov ecx, esi
call fcn.004c8f40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.00620d07
mov edx, dword [0x6fd820]
push 0xffff0002
push 0xffff0000
push 0x17
push 0x16
push edx
mov ecx, esi
call fcn.004c8f40
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x48], eax
push ebx
push 4
push eax
mov ecx, esi
call fcn.00620d07
mov eax, dword [0x6fd52c]
push 0xffff0002
push 0xffff0000
push 0x1b
push 0x1a
push eax
mov ecx, esi
call fcn.004c8f40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.00620d07
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], ebx
cmp dword [eax + 8], ebx
jle 0x4c99e9
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
xor ebp, ebp
xor bl, bl
mov eax, dword [ecx + edx]
lea edi, [ecx + edx]
mov dword [esp + 0x14], eax
dec eax
cmp eax, 6
mov dword [esp + 0x20], ebp
ja case.0x4c9853.4
jmp dword [eax*4 + 0x4c9ae4]
mov ebp, 0x12
mov dword [esp + 0x20], 0x13
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, ebp
jmp 0x4c98d7
mov ebp, 0xe
mov dword [esp + 0x20], 0xf
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, ebp
jmp 0x4c98d7
mov ebp, 0x10
mov dword [esp + 0x20], 0x11
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, ebp
jmp 0x4c98d7
mov ebp, 0xc
mov dword [esp + 0x20], 0xd
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, ebp
jmp 0x4c98d7
mov ebp, 0x14
mov dword [esp + 0x20], 0x15
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, ebp
jmp 0x4c98d7
mov edx, 5
mov ecx, 4
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c98e1
lea eax, [edi + 8]
mov edi, dword [esi + 0x40]
push 0xffff0002
push edi
push edx
push ecx
push eax
mov ecx, esi
call fcn.004c9070
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00620d07
test bl, bl
je 0x4c991d
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov edx, ebp
jmp 0x4c992a
mov dword [esp + 0x14], 9
mov edx, 8
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4c9940
lea ecx, [eax + 8]
mov edi, dword [eax]
mov eax, dword [esi + 0x44]
push 0xffff0002
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push ecx
mov ecx, esi
call fcn.004c9070
push edi
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00620d07
mov edx, dword [esp + 0x20]
test bl, bl
jne 0x4c997b
mov edx, 1
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4c9991
lea ecx, [eax + 8]
mov edi, dword [eax]
mov eax, dword [esi + 0x3c]
neg bl
sbb ebx, ebx
push 0xffff0002
push eax
and ebx, ebp
push edx
push ebx
push ecx
mov ecx, esi
call fcn.004c9070
push edi
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00620d07
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
inc ecx
mov edx, dword [eax + 8]
add edi, 0x2c
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
jl 0x4c9834
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x1c]
push ecx
push 2
push 0x1102
push edx
call edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
push 9
push 0x110b
push ecx
call edi
mov eax, dword [0x6fc9fc]
xor ebx, ebx
test eax, eax
jle 0x4c9a6a
xor edi, edi
mov ecx, dword [esi + 0x48]
mov edx, dword [0x6fc9f8]
push 0xffff0002
push ecx
mov eax, dword [edi + edx + 4]
push 0
push 0
push 0
push 0x17
push 0x16
push eax
push 0x23
mov ecx, esi
call fcn.00620d55
mov ecx, dword [0x6fc9f8]
mov edx, dword [edi + ecx]
mov ecx, esi
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
call fcn.00620d07
mov eax, dword [0x6fc9fc]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x4c9a18
mov eax, dword [0x6fcc3c]
xor ebx, ebx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x4c9ad8
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
mov edi, dword [eax + ebx*4]
push edx
push edi
mov ecx, esi
call fcn.004c9b70
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x4c9a9a
lea eax, [edi + 0x64]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x20]
push 0xffff0002
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004c9070
mov edx, dword [edi + 0x78]
mov ecx, esi
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
call fcn.00620d07
mov eax, dword [0x6fcc3c]
inc ebx
cmp ebx, dword [eax + 0x1c]
jl 0x4c9a78
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4