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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52c1a4
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2ac]
mov ebp, ecx
push edi
mov ecx, esi
mov edi, dword [esp + 0x2ac]
lea eax, [ebp + 0x140]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], ecx
mov edx, dword [edi]
cmp dword [edx - 8], ebx
jne 0x4d0c49
mov eax, dword [esp + 0x2a4]
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x4d338c
push edi
lea eax, [esp + 0x38]
push 0x76d154
push eax
call fcn.00517140
push eax
mov ecx, edi
mov dword [esp + 0x2a0], ebx
call fcn.00516f70
lea ecx, [esp + 0x34]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00516e37
push 0x76d14c
mov ecx, edi
call fcn.00517213
mov ecx, dword [ebp + 0x134]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x144], ecx
push 0x7caad4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00516ea5
push 0x7caad4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a0], 1
call fcn.00516ea5
push 0x7caad4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 2
call fcn.00516ea5
push 0x7caad4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.00516ea5
mov eax, dword [0x77016c]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 5
call fcn.004d3c60
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x4d3236
jmp 0x4d0d50
mov edi, dword [esp + 0x2ac]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x168]
push edi
push eax
mov ecx, ebp
call fcn.004d5b20
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 6
call fcn.00516f70
lea ecx, [esp + 0x160]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 8], ebx
je 0x4d0f68
mov eax, dword [ebp + 0x78]
dec eax
je 0x4d0e08
dec eax
je 0x4d0dfd
dec eax
jne 0x4d0e11
lea ecx, [esp + 0x28]
call fcn.0051735d
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [edx - 8], ebx
jle 0x4d0e11
mov cl, byte [eax + edx]
cmp cl, 0x61
jl 0x4d0def
cmp cl, 0x7a
jg 0x4d0def
cmp eax, ebx
je 0x4d0dd9
cmp byte [eax + edx - 1], 0x20
jne 0x4d0def
sub cl, 0x20
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0051736f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edx - 8]
cmp eax, ecx
jl 0x4d0dc1
jmp 0x4d0e11
lea ecx, [esp + 0x28]
call fcn.0051735d
jmp 0x4d0e11
lea ecx, [esp + 0x28]
call fcn.0051734b
lea edx, [esp + 0x28]
mov ecx, ebp
push edx
call fcn.004d7520
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xb4]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x2b4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x2b4]
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push ebx
push eax
lea edx, [esp + 0x278]
push ecx
push edx
mov ecx, ebp
call fcn.004d39d0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x4d0f43
mov eax, dword [esp + 0xb4]
sub esp, 0x10
mov edx, esp
add eax, esi
lea ecx, [ebx + edi]
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004d34f0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2a8]
mov ecx, dword [eax - 8]
mov ebx, dword [edx]
push ecx
push eax
push edi
push esi
mov ecx, edx
call dword [ebx + 0x5c]
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4d0f4c
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x44]
xor ecx, ecx
cmp ebx, 0x2bc
setge cl
inc ecx
push eax
push ecx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, dword [esp + 0x2a8]
test esi, esi
jne 0x4d0eee
xor ecx, ecx
jmp 0x4d0ef1
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x280]
push eax
push ecx
mov ecx, esi
call fcn.0051d9e3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.0051da2f
test esi, esi
jne 0x4d0f3a
push edi
push esi
call ebx
jmp 0x4d0f4c
mov esi, dword [esi + 4]
push edi
push esi
call ebx
jmp 0x4d0f4c
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
call fcn.00516dc2
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
je 0x4d321e
lea ecx, [esp + 0x14]
call fcn.0051735d
lea esi, [ebp + 0x24]
mov ecx, esi
call fcn.00516dc2
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x138]
push eax
push ecx
mov ecx, ebp
xor edi, edi
mov dword [esp + 0x28], ebx
call fcn.004d6260
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 7
call fcn.00516f70
lea ecx, [esp + 0x134]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4d321e
cmp byte [eax], 0x2f
jne 0x4d1024
mov eax, dword [eax - 8]
lea edx, [esp + 0x15c]
dec eax
lea ecx, [esp + 0x10]
push eax
push edx
mov edi, 1
call fcn.00513d84
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 8
call fcn.00516f70
lea ecx, [esp + 0x15c]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov eax, dword [esp + 0x10]
push 0x76d148
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1079
push 0x76d140
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d106c
mov edx, dword [ebp + 0x2c]
mov eax, 0x384
shl edx, 1
mov ecx, edx
mov dword [ebp + 0x2c], edx
cmp ecx, eax
jle 0x4d106c
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x4d3217
mov ecx, dword [esp + 0x10]
push 0x76d13c
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d31e6
mov edx, dword [esp + 0x10]
push 0x76d138
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d31e6
mov eax, dword [esp + 0x10]
push 0x76d134
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d10fd
push 0x76d128
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d10f0
mov eax, dword [ebp + 0x34]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp + 0x34], ecx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
mov eax, dword [esp + 0x10]
push 0x76d124
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d31b3
mov ecx, dword [esp + 0x10]
push 0x76d11c
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d31b3
mov edx, dword [esp + 0x10]
push 0x76d114
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d13bf
push 0x76d114
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d320f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x4d320f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
mov ecx, ebp
call fcn.004d5d60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 9
call fcn.00516f70
lea ecx, [esp + 0x14c]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x4d13a7
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x178]
push eax
push ecx
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xa
call fcn.00516f70
lea ecx, [esp + 0x16c]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov edx, dword [esp + 0x10]
push 0x76d10c
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d129f
push ecx
lea esi, [ebp + 0x40]
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.00516bac
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0xb
call fcn.00516bac
lea ecx, [esp + 0x15c]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.004d6bc0
push eax
mov ecx, esi
mov byte [esp + 0x2a0], 0xc
call fcn.00516f70
lea ecx, [esp + 0x154]
mov byte [esp + 0x29c], 5
call fcn.00516e37
jmp 0x4d13a7
mov edx, dword [esp + 0x10]
push 0x76d104
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d12cf
mov eax, dword [ebp + 0x28]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.004d5480
mov dword [ebp + 0x28], eax
jmp 0x4d13a7
mov edx, dword [esp + 0x10]
push 0x76d0fc
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d12fd
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.004d5310
mov dword [ebp + 0x44], eax
jmp 0x4d13a7
mov edx, dword [esp + 0x10]
push 0x76d0f4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1324
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.004d6c50
jmp 0x4d13a7
mov ecx, dword [esp + 0x10]
push 0x76d0ec
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d134f
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.004d50e0
mov dword [ebp + 0x2c], eax
jmp 0x4d13a7
mov ecx, dword [esp + 0x10]
push 0x76d0e4
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d13a7
mov edx, dword [esp + 0x18]
push 0x76d0d8
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d138d
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x4d138d
mov dword [ebp + 0x5c], 1
jmp 0x4d13a7
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
mov dword [ebp + 0x5c], 2
call fcn.004d5310
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x4d1182
jmp 0x4d320f
mov edx, dword [esp + 0x10]
push 0x76d0d4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d177f
push esi
lea ecx, [esp + 0x1b8]
call fcn.00516f70
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1b8], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1bc], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c0], edx
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x1c]
mov dword [esp + 0x1c8], ecx
push eax
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1d0], edx
call fcn.00516f70
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1d4], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x1dc], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x1d8], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x1e0], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1e4], edx
mov edx, dword [esi + 0x3c]
lea eax, [esi + 0x40]
mov dword [esp + 0x1ec], ecx
push eax
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x1f4], edx
call fcn.00516f70
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1f8], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x1fc], edx
mov edx, dword [esi + 0x54]
mov dword [esp + 0x200], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x204], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x208], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x20c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x210], ecx
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x214], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x218], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x21c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x220], edx
mov edx, dword [esi + 0x78]
add esi, 0x7c
mov dword [esp + 0x228], ecx
push esi
lea ecx, [esp + 0x234]
mov dword [esp + 0x228], eax
mov dword [esp + 0x230], edx
call fcn.00516f70
lea eax, [esp + 0x1b4]
mov edi, 1
push eax
push 0x76d0d4
mov ecx, ebp
mov dword [esp + 0x20c], edi
call fcn.004d35b0
mov ecx, dword [esp + 0x14]
mov esi, 0x64
mov eax, dword [ecx - 8]
cmp dword [esp + 0x1c], eax
jge 0x4d16b5
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x134]
push eax
push ecx
mov ecx, ebp
call fcn.004d5d60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0xd
call fcn.00516f70
lea ecx, [esp + 0x130]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x4d169e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea eax, [esp + 0x20]
push 0x3d
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x14c]
push ecx
push edx
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xe
call fcn.00516f70
lea ecx, [esp + 0x140]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov eax, dword [esp + 0x10]
push 0x76d0cc
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1639
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004d6de0
push ebx
lea edx, [esp + 0x1c]
push 0x64
push edx
mov ecx, ebp
mov edi, eax
call fcn.004d5480
mov esi, eax
jmp 0x4d169e
mov eax, dword [esp + 0x10]
push 0x76d104
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d166d
mov ecx, dword [esp + 0x204]
push ebx
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.004d5480
mov dword [esp + 0x204], eax
jmp 0x4d169e
mov eax, dword [esp + 0x10]
push 0x76d0fc
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d169e
mov ecx, dword [esp + 0x1d4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.004d5310
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x4d1564
cmp edi, ebx
je 0x4d16ce
cmp dword [esp + 0x2b4], ebx
je 0x4d170b
mov eax, dword [ebp + 0xb0]
add eax, esi
xor esi, esi
mov dword [ebp + 0xb0], eax
cmp dword [esp + 0x2b4], ebx
je 0x4d1725
mov edx, dword [esp + 0x204]
mov ecx, dword [ebp + 0xa8]
lea eax, [edx + 8]
cmp ecx, eax
jle 0x4d16ed
mov eax, ecx
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov eax, dword [esp + 0x20]
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x4d321e
mov ecx, dword [ebp + 0x148]
mov edx, dword [ebp + 0x140]
push 0x64
sub ecx, edx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
cmp dword [esp + 0x2a8], ebx
jne 0x4d1732
xor edi, edi
jmp 0x4d173c
mov ecx, dword [esp + 0x2a8]
mov edi, dword [ecx + 4]
mov eax, dword [ebp + 0xa8]
mov ecx, dword [esp + 0x204]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0x1d4]
push ecx
mov ecx, dword [esp + 0x24]
push 1
push edx
lea edx, [esi + ecx]
push eax
push edx
push eax
push ecx
push edi
lea ecx, [ebp + 0xb8]
call fcn.004ddd40
add dword [esp + 0x20], esi
jmp 0x4d321e
mov eax, dword [esp + 0x10]
push 0x76d0c8
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3113
mov ecx, dword [esp + 0x10]
push 0x76d0c4
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3113
mov edx, dword [esp + 0x10]
push 0x76d0c0
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3078
mov eax, dword [esp + 0x10]
push 0x76d0bc
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3078
mov ecx, dword [esp + 0x10]
push 0x76d0b4
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d182d
push 0x76d0b4
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d1820
mov dword [ebp + 0x68], ebx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
mov eax, dword [esp + 0x10]
push 0x76d0ac
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1873
push 0x76d0ac
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d320f
mov dword [ebp + 0x68], 1
jmp 0x4d320f
mov edx, dword [esp + 0x10]
push 0x76d0a4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d18bd
push 0x76d0a4
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d18b0
mov dword [ebp + 0x68], 2
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x4d3217
mov ecx, dword [esp + 0x10]
push 0x76d098
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1907
push 0x76d098
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d18fa
mov dword [ebp + 0x6c], 3
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
mov eax, dword [esp + 0x10]
push 0x76d094
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1949
push 0x76d094
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d320f
mov dword [ebp + 0x6c], ebx
jmp 0x4d320f
mov edx, dword [esp + 0x10]
push 0x76d08c
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3044
mov eax, dword [esp + 0x10]
push 0x76d084
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d3044
mov ecx, dword [esp + 0x10]
push 0x76d07c
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d19c7
push 0x76d07c
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d19ba
mov dword [ebp + 0x6c], 2
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
mov eax, dword [esp + 0x10]
push 0x76d078
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d1d3d
mov eax, dword [0x77016c]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov ecx, 1
mov eax, 0x64
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29c], 0x11
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xf0], 0xff00ff
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.00516dc2
lea ecx, [esp + 0xf8]
call fcn.00516dc2
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.004d67b0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xf4]
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
cmp eax, ebx
jne 0x4d1ab6
cmp edx, ebx
jne 0x4d1ab6
cmp esi, ebx
jne 0x4d1ab6
cmp dword [ecx - 8], ebx
je 0x4d1d0e
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], 1
je 0x4d1ad2
push eax
mov ecx, ebp
call fcn.004cc850
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x4d1b19
cmp dword [ecx - 8], ebx
je 0x4d1ae7
push ecx
mov ecx, ebp
call fcn.004cc890
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x4d1b19
cmp edx, ebx
je 0x4d1b03
mov eax, dword [esp + 0xf8]
mov ecx, ebp
push eax
push edx
call fcn.004cc8b0
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x4d1b19
cmp esi, ebx
je 0x4d1d0e
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
xor ebx, ebx
cmp esi, ebx
je 0x4d1d0e
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebp
call fcn.004d4540
lea edx, [esp + 0x28c]
push esi
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x44], eax
call fcn.004db500
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x4d1b6f
mov edx, dword [esp + 0xd4]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
jmp 0x4d1b76
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0xec]
test eax, eax
je 0x4d1b94
mov eax, dword [esp + 0xd8]
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4d1b9b
mov eax, dword [esp + 0xd8]
test ebx, ebx
mov dword [esp + 0x104], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
je 0x4d1bd7
test eax, eax
je 0x4d1bd7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d1bd7
mov eax, dword [ebp + 0x164]
mov ecx, dword [ebp + 0x168]
lea edx, [ebx + eax]
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x4d1beb
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov ecx, dword [esp + 0x2b4]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x290]
push ecx
push edx
mov ecx, ebp
call fcn.004d3a80
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x4d1ced
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4d1ced
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x4d1ced
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, dword [esp + 0x64]
mov edx, esp
add ecx, esi
add eax, edi
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [edx + 0xc], eax
call fcn.004d34f0
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x4d1c87
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x4d1c87
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xdc], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [esp + 0x104]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x2cc]
push edx
push eax
push ebx
mov edx, dword [ecx + 4]
push edi
push esi
push edx
lea ecx, [ebp + 0xb8]
call fcn.004dd000
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x20], ecx
je 0x4d1d0e
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x29c], 0x12
call fcn.00516e37
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29c], 5
call fcn.00516e37
xor ebx, ebx
jmp 0x4d321e
mov edx, dword [esp + 0x10]
push 0x76d070
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d205f
mov eax, dword [0x77016c]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor esi, esi
push 0xb
mov byte [esp + 0x2a0], 0x13
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], esi
call edi
push 0xc
mov dword [esp + 0x190], eax
mov dword [esp + 0x1a4], esi
call edi
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x190], eax
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], esi
call fcn.00516dc2
lea ecx, [esp + 0x1b0]
call fcn.00516dc2
lea eax, [esp + 0x174]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.004d67b0
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x180]
mov edi, dword [esp + 0x17c]
cmp edx, esi
mov esi, dword [esp + 0x1ac]
jne 0x4d1e20
test edi, edi
jne 0x4d1e20
test ebx, ebx
jne 0x4d1e20
mov eax, dword [esi - 8]
test eax, eax
je 0x4d2030
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x190]
test edx, edx
mov dword [esp + 0x38], 1
je 0x4d1e48
push ecx
push eax
push edx
mov ecx, ebp
call fcn.004cc770
mov ebx, eax
jmp 0x4d1e87
mov edx, dword [esi - 8]
test edx, edx
je 0x4d1e5d
push ecx
push eax
push esi
mov ecx, ebp
call fcn.004cc7b0
mov ebx, eax
jmp 0x4d1e87
test edi, edi
je 0x4d1e77
mov edx, dword [esp + 0x1b0]
push edx
push ecx
push eax
push edi
mov ecx, ebp
call fcn.004cc7d0
mov ebx, eax
jmp 0x4d1e87
test ebx, ebx
je 0x4d2030
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x4d2030
lea eax, [esp + 0x174]
mov ecx, ebp
push eax
call fcn.004d4540
lea edx, [esp + 0x25c]
mov esi, eax
push ebx
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x3c], esi
call fcn.004db480
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, ecx
mov eax, edx
test ecx, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
je 0x4d1f01
test edx, edx
je 0x4d1f01
test esi, esi
je 0x4d1f01
mov eax, dword [ebp + 0x164]
mov ecx, dword [ebp + 0x168]
mov edx, edi
add edx, eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x4d1f15
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], ecx
mov edx, dword [esp + 0x2b4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x260]
push edx
push eax
mov ecx, ebp
call fcn.004d3a80
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4d2013
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4d2013
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x4d2013
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub esp, 0x10
lea eax, [edi + ecx]
lea ecx, [esi + edx]
mov edx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, ebp
mov dword [edx + 0xc], eax
call fcn.004d34f0
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x4d1fba
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x4d1fba
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x194], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x1a4]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0x2c4]
push ebx
push eax
push ecx
mov eax, dword [edx + 4]
push edi
push esi
push eax
lea ecx, [ebp + 0xb8]
call fcn.004dd290
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d2022
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x29c], 0x14
call fcn.00516e37
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x29c], 5
call fcn.00516e37
xor ebx, ebx
jmp 0x4d321e
mov edx, dword [esp + 0x10]
push 0x76d068
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d29d1
mov eax, dword [esp + 0x10]
push 0x76d060
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d29d1
mov ecx, dword [esp + 0x10]
push 0x76d058
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d23b4
push 0x7caad4
lea ecx, [esp + 0x9c]
xor esi, esi
call fcn.00516ea5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x29c], 0x17
mov eax, dword [edx - 8]
cmp ecx, eax
jge 0x4d239b
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x174]
push ecx
push edx
mov ecx, ebp
call fcn.004d5d60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x18
call fcn.00516f70
lea ecx, [esp + 0x170]
mov byte [esp + 0x29c], 0x17
call fcn.00516e37
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4d2252
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x148]
push edx
push eax
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x19
call fcn.00516f70
lea ecx, [esp + 0x13c]
mov byte [esp + 0x29c], 0x17
call fcn.00516e37
mov ecx, dword [esp + 0x10]
push 0x76d050
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d21a4
push ebx
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, ebp
call fcn.004d5480
mov esi, eax
jmp 0x4d2252
mov eax, dword [esp + 0x10]
push 0x76d048
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d21cf
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, ebp
call fcn.004d5480
mov esi, eax
jmp 0x4d2252
mov edx, dword [esp + 0x10]
push 0x76d040
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d2252
push ecx
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00516bac
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x1a
call fcn.00516bac
lea eax, [esp + 0x110]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 0x17
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2a0], 0x1b
call fcn.00516f70
lea ecx, [esp + 0x108]
mov byte [esp + 0x29c], 0x17
call fcn.00516e37
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jl 0x4d20db
cmp esi, ebx
je 0x4d239b
push 0x7caad4
lea ecx, [esp + 0x48]
call fcn.00516ea5
lea edx, [esp + 0x148]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 0x1c
call fcn.004cc930
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a0], 0x1d
call fcn.00516f70
lea ecx, [esp + 0x148]
mov byte [esp + 0x29c], 0x1c
call fcn.00516e37
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.004d7520
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4d238a
lea edx, [esp + 0x10c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x2b4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp dword [esp + 0x2b4], ebx
je 0x4d2301
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0x2b4]
mov ebx, dword [esp + 0x110]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ebx
push ecx
lea eax, [esp + 0x280]
push edx
push eax
mov ecx, ebp
call fcn.004d39d0
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x4d2377
mov ecx, dword [esp + 0x10c]
sub esp, 0x10
mov edx, esp
lea eax, [esi + ecx]
lea ecx, [edi + ebx]
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004d34f0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2a8]
mov ecx, dword [eax - 8]
mov ebx, dword [edx]
push ecx
push eax
push edi
push esi
mov ecx, edx
call dword [ebx + 0x5c]
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x20]
add ecx, eax
xor ebx, ebx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x29c], 0x17
call fcn.00516e37
lea ecx, [esp + 0x98]
mov byte [esp + 0x29c], 5
call fcn.00516e37
jmp 0x4d321e
mov ecx, dword [esp + 0x10]
push 0x76cefc
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov edx, dword [esp + 0x10]
push 0x76d03c
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov eax, dword [esp + 0x10]
push 0x76d038
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov ecx, dword [esp + 0x10]
push 0x76d034
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov edx, dword [esp + 0x10]
push 0x76d030
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov eax, dword [esp + 0x10]
push 0x76d02c
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov ecx, dword [esp + 0x10]
push 0x76d028
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov edx, dword [esp + 0x10]
push 0x76d024
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov eax, dword [esp + 0x10]
push 0x76d01c
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov ecx, dword [esp + 0x10]
push 0x76d018
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov edx, dword [esp + 0x10]
push 0x76d014
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov eax, dword [esp + 0x10]
push 0x76d00c
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov ecx, dword [esp + 0x10]
push 0x76d008
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov edx, dword [esp + 0x10]
push 0x76d004
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2997
mov eax, dword [esp + 0x10]
push 0x76cffc
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d27ef
mov ecx, dword [esp + 0x10]
push 0x76cff8
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d27ef
mov edx, dword [esp + 0x10]
push 0x76cff4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d321e
push 0x76cfec
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d27e2
lea edi, [ebp + 0xa0]
mov dword [ebp + 0x9c], 2
mov ecx, edi
call fcn.00516dc2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x4d27a3
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x118]
push edx
push eax
mov ecx, ebp
call fcn.004d5d60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x24
call fcn.00516f70
lea ecx, [esp + 0x114]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x4d2790
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x15c]
push eax
push ecx
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x25
call fcn.00516f70
lea ecx, [esp + 0x150]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov edx, dword [esp + 0x10]
push 0x76cfe4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2686
mov eax, dword [esp + 0x10]
push 0x76cfe0
push eax
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d26f5
push ecx
mov dword [ebp + 0x9c], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7caad4
call fcn.00516ea5
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x26
call fcn.00516bac
lea eax, [esp + 0x128]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 5
call fcn.004d6bc0
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x27
call fcn.00516f70
lea ecx, [esp + 0x120]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov ecx, dword [esp + 0x10]
push 0x76cfdc
push ecx
call fcn.00504bb4
add esp, 8
test eax, eax
je 0x4d2721
mov edx, dword [esp + 0x10]
push 0x76cfd4
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d2790
push ecx
mov dword [ebp + 0x9c], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7caad4
call fcn.00516ea5
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x28
call fcn.00516bac
lea ecx, [esp + 0x160]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.004d6bc0
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x29
call fcn.00516f70
lea ecx, [esp + 0x158]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4d25bc
mov edx, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
inc edx
push esi
mov eax, edx
mov dword [ebp + 0x154], edx
cmp eax, ecx
jne 0x4d27d6
push 0x76cfcc
mov ecx, ebp
call fcn.004d35b0
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x4d3217
push 0x76cfc4
mov ecx, ebp
call fcn.004d35b0
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x4d3217
push 0x76cffc
mov ecx, esi
call fcn.00516fc0
cmp edi, ebx
jne 0x4d2979
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x130]
push edx
push eax
mov ecx, ebp
call fcn.004d5d60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x1f
call fcn.00516f70
lea ecx, [esp + 0x12c]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x4d321e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea edx, [esp + 0x20]
push 0x3d
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x20
call fcn.00516f70
lea ecx, [esp + 0xfc]
mov byte [esp + 0x29c], 5
call fcn.00516e37
mov edx, dword [esp + 0x10]
push 0x76cfbc
push edx
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d321e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x7caad4
call fcn.00516ea5
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x21
call fcn.00516bac
lea ecx, [esp + 0xac]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.004d6bc0
push ebx
mov ecx, ebp
mov byte [esp + 0x2a0], 0x22
call fcn.004d35e0
test eax, eax
je 0x4d2960
lea edx, [esp + 0xa4]
lea eax, [esp + 0x168]
push edx
push 0x76cfb8
push eax
call fcn.00517140
mov eax, dword [eax]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x2a4], 0x23
call fcn.004d35b0
lea ecx, [esp + 0x168]
mov byte [esp + 0x29c], 0x22
call fcn.00516e37
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, ebp
call fcn.004d38f0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x29c], 5
call fcn.00516e37
jmp 0x4d321e
push 1
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00516f70
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d29c4
mov ecx, dword [esp + 0x10]
push esi
push ecx
mov ecx, ebp
call fcn.004d35b0
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
mov eax, dword [0x77016c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, 0x64
mov edi, 1
push 0xb
mov byte [esp + 0x2a0], 0x15
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x90], 0xff00ff
call esi
push 0xc
mov dword [esp + 0x6c], eax
call esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00516dc2
lea ecx, [esp + 0x94]
call fcn.00516dc2
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.004d67b0
lea edx, [esp + 0x58]
mov ecx, ebp
push edx
call fcn.004d4540
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x4d2cc4
cmp esi, ebx
jne 0x4d2cc4
cmp edx, ebx
jne 0x4d2cc4
cmp dword [ecx - 8], ebx
jne 0x4d2cc4
lea eax, [ebp + 0x100]
cmp eax, ebx
je 0x4d3015
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d3015
mov eax, dword [ebp + 0x104]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jge 0x4d3015
push 0
push ecx
mov ecx, dword [ebp + 0x104]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
test eax, eax
mov dword [esp + 0x38], eax
je 0x4d3015
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x11c], esi
test eax, eax
je 0x4d2b33
mov edx, dword [ebp + 0x108]
push 0x64
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4d2b5b
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10c]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov dword [esp + 0x11c], esi
mov ecx, esi
mov dword [esp + 0x9c], ebx
test ebx, ebx
mov dword [esp + 0xa0], ecx
je 0x4d2b99
test esi, esi
je 0x4d2b99
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d2b99
mov eax, dword [ebp + 0x164]
add eax, ebx
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x168]
add ecx, eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x4d2bad
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0xb4], edx
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x270]
push eax
push ecx
mov ecx, ebp
call fcn.004d3a80
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x4d2cae
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4d2cae
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x4d2cae
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov ecx, dword [esp + 0xb0]
lea eax, [esi + edx]
mov edx, esp
add ecx, edi
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004d34f0
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x4d2c4d
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x4d2c4d
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov edx, dword [ebp + 0x178]
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x16c]
push edx
mov edx, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x164]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x2c4]
push eax
push ecx
push ebx
mov eax, dword [edx + 4]
push edi
push esi
push eax
lea ecx, [ebp + 0xb8]
call fcn.004dd290
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x4d3015
cmp eax, ebx
mov dword [esp + 0x34], edi
je 0x4d2cd6
push eax
mov ecx, ebp
call fcn.004cc850
jmp 0x4d2d0b
cmp dword [ecx - 8], ebx
je 0x4d2ce5
push ecx
mov ecx, ebp
call fcn.004cc890
jmp 0x4d2d0b
cmp esi, ebx
je 0x4d2cfb
mov eax, dword [esp + 0x94]
mov ecx, ebp
push eax
push esi
call fcn.004cc8b0
jmp 0x4d2d0b
cmp edx, ebx
je 0x4d3015
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x34], ebx
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x4d3015
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4d3015
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4d3015
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x244]
push edx
lea ecx, [ebp + 0xb8]
push eax
call fcn.004db500
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x84]
test eax, eax
mov dword [esp + 0x240], ecx
je 0x4d2d78
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x70], ecx
jmp 0x4d2d7c
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4d2da3
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push 0x64
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
jmp 0x4d2da7
mov eax, dword [esp + 0x74]
mov edi, ecx
mov esi, eax
test ecx, ecx
mov dword [esp + 0x234], edi
je 0x4d2dd9
test eax, eax
je 0x4d2dd9
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4d2dd9
mov edi, dword [ebp + 0x164]
mov esi, dword [ebp + 0x168]
add edi, ecx
add esi, eax
mov dword [esp + 0x234], edi
mov eax, ebx
mov ebx, dword [esp + 0x58]
cdq
idiv dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x240]
cdq
idiv dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov edx, eax
imul edx, ecx
cmp ebx, edx
jge 0x4d3002
test ecx, ecx
je 0x4d3002
test eax, eax
je 0x4d3002
mov ebx, dword [esp + 0x2b4]
test ebx, ebx
je 0x4d2e27
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0xb4], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push esi
push ecx
lea eax, [esp + 0x258]
push edx
push eax
mov ecx, ebp
call fcn.004d3a80
mov edx, dword [esp + 0x70]
mov ecx, eax
test edx, edx
mov eax, dword [ecx]
mov dword [esp + 0x124], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x128], ecx
je 0x4d2ffe
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4d2ffe
test ebx, ebx
jne 0x4d2ffe
sub esp, 0x10
add edi, eax
mov edx, esp
add esi, ecx
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, ebp
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
call fcn.004d34f0
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x4d2eb4
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x4d2eb4
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0x2a8]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx + 4]
push edx
call edi
mov esi, eax
mov eax, dword [ebx + 4]
push eax
call edi
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x30]
mov ebx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
xor edx, edx
div ecx
push 0xcc0020
xor edx, edx
imul eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
div ecx
mov eax, dword [esp + 0x70]
imul edx, eax
push edx
mov edx, dword [esp + 0x78]
push esi
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xb0]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0xb0]
push eax
call esi
mov ecx, dword [ebp + 0x178]
mov edx, dword [ebp + 0x170]
mov eax, dword [ebp + 0x16c]
push ecx
mov ecx, dword [ebp + 0x168]
push edx
mov edx, dword [ebp + 0x164]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x14c]
push ebx
push ecx
mov ecx, dword [esp + 0x150]
push edx
mov edx, dword [esp + 0x2d8]
push eax
push ecx
lea ecx, [ebp + 0xb8]
mov eax, dword [edx + 4]
push eax
call fcn.004dd000
push ebx
call esi
mov edi, dword [esp + 0x234]
add dword [esp + 0x20], edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d3015
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x94]
mov byte [esp + 0x29c], 0x16
call fcn.00516e37
lea ecx, [esp + 0x90]
mov byte [esp + 0x29c], 5
call fcn.00516e37
xor ebx, ebx
jmp 0x4d321e
push 0x76d084
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d306b
mov dword [ebp + 0x6c], 1
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
push 0x76cfb4
mov ecx, esi
call fcn.00516fc0
mov eax, dword [esp + 0x10]
push 0x76d0bc
push eax
mov esi, 1
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d3101
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x144]
push edx
push eax
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x10
call fcn.00516f70
lea ecx, [esp + 0x138]
mov byte [esp + 0x29c], 5
call fcn.00516e37
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.004d5480
mov esi, eax
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebp
call fcn.004d3d10
jmp 0x4d321e
push 0x76cfa8
mov ecx, esi
call fcn.00516fc0
mov eax, dword [esp + 0x10]
push 0x76d0c8
push eax
mov esi, 1
call fcn.00504bb4
add esp, 8
test eax, eax
jne 0x4d319c
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x76c68c
call fcn.00516ea5
lea ecx, [esp + 0x20]
push 0x3d
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x170]
push edx
push eax
mov ecx, ebp
call fcn.004d6120
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xf
call fcn.00516f70
lea ecx, [esp + 0x164]
mov byte [esp + 0x29c], 5
call fcn.00516e37
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.004d5480
mov esi, eax
mov edx, dword [esp + 0x2b4]
lea eax, [esp + 0x20]
push edx
push esi
push eax
mov ecx, ebp
call fcn.004d3b90
jmp 0x4d321e
push 0x76cf9c
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d31dc
mov eax, dword [ebp + 0x38]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp + 0x38], ecx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x4d3217
push 0x76cf94
mov ecx, esi
call fcn.00516fc0
push edi
mov ecx, ebp
call fcn.004d35e0
test eax, eax
je 0x4d321e
cmp edi, ebx
jne 0x4d320f
mov ecx, dword [ebp + 0x30]
xor eax, eax
cmp ecx, ebx
sete al
mov dword [ebp + 0x30], eax
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, ebp
call fcn.004d38f0
mov edx, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x4d0d49
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push 1
push edx
mov ecx, ebp
call fcn.004d3b90
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x144]
mov edx, dword [esp + 0x144]
sub eax, ecx
mov dword [ebp + 0x130], eax
mov eax, dword [ebp + 0x134]
cmp edx, eax
mov dword [esp + 0x40], edx
jge 0x4d32db
lea ebx, [ebp + 0xa4]
mov eax, dword [ebp + 0x20c]
lea ecx, [edx + edx*4]
mov edi, ebx
lea esi, [eax + ecx*4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xb0]
test eax, eax
je 0x4d32cc
mov edx, dword [ebp + 0x12c]
push 0x64
push edx
push eax
lea ebx, [ebp + 0xa4]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebx]
mov ecx, dword [ebp + 0x12c]
add esi, eax
mov eax, esi
mov dword [ebx], esi
cmp ecx, eax
jle 0x4d32c2
mov eax, ecx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x12c], eax
mov eax, dword [ebp + 0x134]
inc edx
cmp edx, eax
mov dword [esp + 0x40], edx
jl 0x4d3279
mov esi, dword [esp + 0x2a4]
mov eax, dword [ebp + 0x12c]
mov dword [esi], eax
mov ecx, dword [ebp + 0x130]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x230]
mov byte [esp + 0x29c], 0x2c
call fcn.00516e37
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x29c], 0x2b
call fcn.00516e37
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x29c], 0x2a
call fcn.00516e37
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x29c], 4
call fcn.00516e37
lea ecx, [esp + 0x18]
mov byte [esp + 0x29c], 3
call fcn.00516e37
lea ecx, [esp + 0x10]
mov byte [esp + 0x29c], 2
call fcn.00516e37
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 1
call fcn.00516e37
lea ecx, [esp + 0x28]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00516e37
mov eax, esi
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x290
ret 0x14