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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ab294
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 0x4798d9
mov eax, dword [esp + 0x2a4]
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x47c01c
push edi
lea eax, [esp + 0x38]
push 0x5a0a3c
push eax
call fcn.0049b883
push eax
mov ecx, edi
mov dword [esp + 0x2a0], ebx
call fcn.0049b6b3
lea ecx, [esp + 0x34]
mov dword [esp + 0x29c], 0xffffffff
call fcn.0049b5c6
push 0x5a0a34
mov ecx, edi
call fcn.0049b956
mov ecx, dword [ebp + 0x134]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x144], ecx
push 0x5dfa7c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0049b634
push 0x5dfa7c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a0], 1
call fcn.0049b634
push 0x5dfa7c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 2
call fcn.0049b634
push 0x5dfa7c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.0049b634
mov eax, dword [0x5a1228]
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.0047c8f0
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x47bec6
jmp 0x4799e0
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.0047e7b0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 6
call fcn.0049b6b3
lea ecx, [esp + 0x160]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 8], ebx
je 0x479bf8
mov eax, dword [ebp + 0x78]
dec eax
je 0x479a98
dec eax
je 0x479a8d
dec eax
jne 0x479aa1
lea ecx, [esp + 0x28]
call fcn.0049ba8e
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [edx - 8], ebx
jle 0x479aa1
mov cl, byte [eax + edx]
cmp cl, 0x61
jl 0x479a7f
cmp cl, 0x7a
jg 0x479a7f
cmp eax, ebx
je 0x479a69
cmp byte [eax + edx - 1], 0x20
jne 0x479a7f
sub cl, 0x20
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0049baa0
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 0x479a51
jmp 0x479aa1
lea ecx, [esp + 0x28]
call fcn.0049ba8e
jmp 0x479aa1
lea ecx, [esp + 0x28]
call fcn.0049ba7c
lea edx, [esp + 0x28]
mov ecx, ebp
push edx
call fcn.004801b0
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.0047c660
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x479bd3
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.0047c180
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 0x479bdc
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 0x479b7e
xor ecx, ecx
jmp 0x479b81
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.004a1dbf
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.004a1e0b
test esi, esi
jne 0x479bca
push edi
push esi
call ebx
jmp 0x479bdc
mov esi, dword [esi + 4]
push edi
push esi
call ebx
jmp 0x479bdc
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.0049b551
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
je 0x47beae
lea ecx, [esp + 0x14]
call fcn.0049ba8e
lea esi, [ebp + 0x24]
mov ecx, esi
call fcn.0049b551
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.0047eef0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 7
call fcn.0049b6b3
lea ecx, [esp + 0x134]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x47beae
cmp byte [eax], 0x2f
jne 0x479cb4
mov eax, dword [eax - 8]
lea edx, [esp + 0x15c]
dec eax
lea ecx, [esp + 0x10]
push eax
push edx
mov edi, 1
call fcn.00498e93
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 8
call fcn.0049b6b3
lea ecx, [esp + 0x15c]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov eax, dword [esp + 0x10]
push 0x5a0a30
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479d09
push 0x5a0a28
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x479cfc
mov edx, dword [ebp + 0x2c]
mov eax, 0x384
shl edx, 1
mov ecx, edx
mov dword [ebp + 0x2c], edx
cmp ecx, eax
jle 0x479cfc
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x47bea7
mov ecx, dword [esp + 0x10]
push 0x5a0a24
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47be76
mov edx, dword [esp + 0x10]
push 0x5a0a20
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47be76
mov eax, dword [esp + 0x10]
push 0x5a0a1c
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479d8d
push 0x5a0a10
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x479d80
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 0x47bea7
mov eax, dword [esp + 0x10]
push 0x5a0a0c
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47be43
mov ecx, dword [esp + 0x10]
push 0x5a0a04
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47be43
mov edx, dword [esp + 0x10]
push 0x5a09fc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a04f
push 0x5a09fc
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47be9f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x47be9f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
mov ecx, ebp
call fcn.0047e9f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 9
call fcn.0049b6b3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x47a037
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xa
call fcn.0049b6b3
lea ecx, [esp + 0x16c]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov edx, dword [esp + 0x10]
push 0x5a09f4
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479f2f
push ecx
lea esi, [ebp + 0x40]
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0049b33b
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0xb
call fcn.0049b33b
lea ecx, [esp + 0x15c]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0047f850
push eax
mov ecx, esi
mov byte [esp + 0x2a0], 0xc
call fcn.0049b6b3
lea ecx, [esp + 0x154]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
jmp 0x47a037
mov edx, dword [esp + 0x10]
push 0x5a09ec
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479f5f
mov eax, dword [ebp + 0x28]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0047e110
mov dword [ebp + 0x28], eax
jmp 0x47a037
mov edx, dword [esp + 0x10]
push 0x5a09e4
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479f8d
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.0047dfa0
mov dword [ebp + 0x44], eax
jmp 0x47a037
mov edx, dword [esp + 0x10]
push 0x5a09dc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479fb4
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0047f8e0
jmp 0x47a037
mov ecx, dword [esp + 0x10]
push 0x5a09d4
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x479fdf
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.0047dd70
mov dword [ebp + 0x2c], eax
jmp 0x47a037
mov ecx, dword [esp + 0x10]
push 0x5a09cc
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a037
mov edx, dword [esp + 0x18]
push 0x5a09c0
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a01d
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x47a01d
mov dword [ebp + 0x5c], 1
jmp 0x47a037
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
mov dword [ebp + 0x5c], 2
call fcn.0047dfa0
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x479e12
jmp 0x47be9f
mov edx, dword [esp + 0x10]
push 0x5a09bc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a40f
push esi
lea ecx, [esp + 0x1b8]
call fcn.0049b6b3
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.0049b6b3
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.0049b6b3
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.0049b6b3
lea eax, [esp + 0x1b4]
mov edi, 1
push eax
push 0x5a09bc
mov ecx, ebp
mov dword [esp + 0x20c], edi
call fcn.0047c240
mov ecx, dword [esp + 0x14]
mov esi, 0x64
mov eax, dword [ecx - 8]
cmp dword [esp + 0x1c], eax
jge 0x47a345
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x134]
push eax
push ecx
mov ecx, ebp
call fcn.0047e9f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0xd
call fcn.0049b6b3
lea ecx, [esp + 0x130]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x47a32e
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xe
call fcn.0049b6b3
lea ecx, [esp + 0x140]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov eax, dword [esp + 0x10]
push 0x5a09b4
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a2c9
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0047fa70
push ebx
lea edx, [esp + 0x1c]
push 0x64
push edx
mov ecx, ebp
mov edi, eax
call fcn.0047e110
mov esi, eax
jmp 0x47a32e
mov eax, dword [esp + 0x10]
push 0x5a09ec
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a2fd
mov ecx, dword [esp + 0x204]
push ebx
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.0047e110
mov dword [esp + 0x204], eax
jmp 0x47a32e
mov eax, dword [esp + 0x10]
push 0x5a09e4
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a32e
mov ecx, dword [esp + 0x1d4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0047dfa0
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x47a1f4
cmp edi, ebx
je 0x47a35e
cmp dword [esp + 0x2b4], ebx
je 0x47a39b
mov eax, dword [ebp + 0xb0]
add eax, esi
xor esi, esi
mov dword [ebp + 0xb0], eax
cmp dword [esp + 0x2b4], ebx
je 0x47a3b5
mov edx, dword [esp + 0x204]
mov ecx, dword [ebp + 0xa8]
lea eax, [edx + 8]
cmp ecx, eax
jle 0x47a37d
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 0x47beae
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 0x47a3c2
xor edi, edi
jmp 0x47a3cc
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.00486870
add dword [esp + 0x20], esi
jmp 0x47beae
mov eax, dword [esp + 0x10]
push 0x5a09b0
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bda3
mov ecx, dword [esp + 0x10]
push 0x5a09ac
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bda3
mov edx, dword [esp + 0x10]
push 0x5a09a8
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bd08
mov eax, dword [esp + 0x10]
push 0x5a09a4
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bd08
mov ecx, dword [esp + 0x10]
push 0x5a099c
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a4bd
push 0x5a099c
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47a4b0
mov dword [ebp + 0x68], ebx
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
mov eax, dword [esp + 0x10]
push 0x5a0994
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a503
push 0x5a0994
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47be9f
mov dword [ebp + 0x68], 1
jmp 0x47be9f
mov edx, dword [esp + 0x10]
push 0x5a098c
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a54d
push 0x5a098c
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47a540
mov dword [ebp + 0x68], 2
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x47bea7
mov ecx, dword [esp + 0x10]
push 0x5a0980
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a597
push 0x5a0980
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47a58a
mov dword [ebp + 0x6c], 3
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
mov eax, dword [esp + 0x10]
push 0x5a097c
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a5d9
push 0x5a097c
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47be9f
mov dword [ebp + 0x6c], ebx
jmp 0x47be9f
mov edx, dword [esp + 0x10]
push 0x5a0974
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bcd4
mov eax, dword [esp + 0x10]
push 0x5a096c
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47bcd4
mov ecx, dword [esp + 0x10]
push 0x5a0964
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a657
push 0x5a0964
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47a64a
mov dword [ebp + 0x6c], 2
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
mov eax, dword [esp + 0x10]
push 0x5a0960
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47a9cd
mov eax, dword [0x5a1228]
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.0049b551
lea ecx, [esp + 0xf8]
call fcn.0049b551
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.0047f440
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xf4]
mov esi, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
cmp eax, ebx
jne 0x47a746
cmp edx, ebx
jne 0x47a746
cmp esi, ebx
jne 0x47a746
cmp dword [ecx - 8], ebx
je 0x47a99e
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], 1
je 0x47a762
push eax
mov ecx, ebp
call fcn.004754e0
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x47a7a9
cmp dword [ecx - 8], ebx
je 0x47a777
push ecx
mov ecx, ebp
call fcn.00475520
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x47a7a9
cmp edx, ebx
je 0x47a793
mov eax, dword [esp + 0xf8]
mov ecx, ebp
push eax
push edx
call fcn.00475540
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x47a7a9
cmp esi, ebx
je 0x47a99e
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0
xor ebx, ebx
cmp esi, ebx
je 0x47a99e
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebp
call fcn.0047d1d0
lea edx, [esp + 0x28c]
push esi
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x44], eax
call fcn.00484030
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x47a7ff
mov edx, dword [esp + 0xd4]
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ebx, eax
jmp 0x47a806
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0xec]
test eax, eax
je 0x47a824
mov eax, dword [esp + 0xd8]
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x47a82b
mov eax, dword [esp + 0xd8]
test ebx, ebx
mov dword [esp + 0x104], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
je 0x47a867
test eax, eax
je 0x47a867
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47a867
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 0x47a87b
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.0047c710
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x47a97d
mov eax, dword [esp + 0x104]
test eax, eax
je 0x47a97d
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x47a97d
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.0047c180
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x47a917
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x47a917
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.00485b30
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 0x47a99e
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.0049b5c6
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
xor ebx, ebx
jmp 0x47beae
mov edx, dword [esp + 0x10]
push 0x5a0958
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47acef
mov eax, dword [0x5a1228]
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.0049b551
lea ecx, [esp + 0x1b0]
call fcn.0049b551
lea eax, [esp + 0x174]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.0047f440
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x180]
mov edi, dword [esp + 0x17c]
cmp edx, esi
mov esi, dword [esp + 0x1ac]
jne 0x47aab0
test edi, edi
jne 0x47aab0
test ebx, ebx
jne 0x47aab0
mov eax, dword [esi - 8]
test eax, eax
je 0x47acc0
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x190]
test edx, edx
mov dword [esp + 0x38], 1
je 0x47aad8
push ecx
push eax
push edx
mov ecx, ebp
call fcn.00475400
mov ebx, eax
jmp 0x47ab17
mov edx, dword [esi - 8]
test edx, edx
je 0x47aaed
push ecx
push eax
push esi
mov ecx, ebp
call fcn.00475440
mov ebx, eax
jmp 0x47ab17
test edi, edi
je 0x47ab07
mov edx, dword [esp + 0x1b0]
push edx
push ecx
push eax
push edi
mov ecx, ebp
call fcn.00475460
mov ebx, eax
jmp 0x47ab17
test ebx, ebx
je 0x47acc0
mov dword [esp + 0x38], 0
test ebx, ebx
je 0x47acc0
lea eax, [esp + 0x174]
mov ecx, ebp
push eax
call fcn.0047d1d0
lea edx, [esp + 0x25c]
mov esi, eax
push ebx
lea ecx, [ebp + 0xb8]
push edx
mov dword [esp + 0x3c], esi
call fcn.00483fb0
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 0x47ab91
test edx, edx
je 0x47ab91
test esi, esi
je 0x47ab91
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 0x47aba5
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.0047c710
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x47aca3
mov eax, dword [esp + 0xac]
test eax, eax
je 0x47aca3
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x47aca3
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.0047c180
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x47ac4a
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x47ac4a
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.00485dc0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47acb2
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.0049b5c6
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
xor ebx, ebx
jmp 0x47beae
mov edx, dword [esp + 0x10]
push 0x5a0950
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b661
mov eax, dword [esp + 0x10]
push 0x5a0948
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b661
mov ecx, dword [esp + 0x10]
push 0x5a0940
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47b044
push 0x5dfa7c
lea ecx, [esp + 0x9c]
xor esi, esi
call fcn.0049b634
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x29c], 0x17
mov eax, dword [edx - 8]
cmp ecx, eax
jge 0x47b02b
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x174]
push ecx
push edx
mov ecx, ebp
call fcn.0047e9f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x18
call fcn.0049b6b3
lea ecx, [esp + 0x170]
mov byte [esp + 0x29c], 0x17
call fcn.0049b5c6
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x47aee2
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x19
call fcn.0049b6b3
lea ecx, [esp + 0x13c]
mov byte [esp + 0x29c], 0x17
call fcn.0049b5c6
mov ecx, dword [esp + 0x10]
push 0x5a0938
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47ae34
push ebx
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, ebp
call fcn.0047e110
mov esi, eax
jmp 0x47aee2
mov eax, dword [esp + 0x10]
push 0x5a0930
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47ae5f
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, ebp
call fcn.0047e110
mov esi, eax
jmp 0x47aee2
mov edx, dword [esp + 0x10]
push 0x5a0928
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47aee2
push ecx
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0049b33b
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x1a
call fcn.0049b33b
lea eax, [esp + 0x110]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 0x17
call fcn.0047f850
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2a0], 0x1b
call fcn.0049b6b3
lea ecx, [esp + 0x108]
mov byte [esp + 0x29c], 0x17
call fcn.0049b5c6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jl 0x47ad6b
cmp esi, ebx
je 0x47b02b
push 0x5dfa7c
lea ecx, [esp + 0x48]
call fcn.0049b634
lea edx, [esp + 0x148]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 0x1c
call fcn.004755c0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a0], 0x1d
call fcn.0049b6b3
lea ecx, [esp + 0x148]
mov byte [esp + 0x29c], 0x1c
call fcn.0049b5c6
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.004801b0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x47b01a
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 0x47af91
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.0047c660
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x47b007
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.0047c180
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.0049b5c6
lea ecx, [esp + 0x98]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
jmp 0x47beae
mov ecx, dword [esp + 0x10]
push 0x5a07e4
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov edx, dword [esp + 0x10]
push 0x5a0924
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov eax, dword [esp + 0x10]
push 0x5a0920
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov ecx, dword [esp + 0x10]
push 0x5a091c
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov edx, dword [esp + 0x10]
push 0x5a0918
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov eax, dword [esp + 0x10]
push 0x5a0914
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov ecx, dword [esp + 0x10]
push 0x5a0910
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov edx, dword [esp + 0x10]
push 0x5a090c
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov eax, dword [esp + 0x10]
push 0x5a0904
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov ecx, dword [esp + 0x10]
push 0x5a0900
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov edx, dword [esp + 0x10]
push 0x5a08fc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov eax, dword [esp + 0x10]
push 0x5a08f4
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov ecx, dword [esp + 0x10]
push 0x5a08f0
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov edx, dword [esp + 0x10]
push 0x5a08ec
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b627
mov eax, dword [esp + 0x10]
push 0x5a08e4
push eax
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b47f
mov ecx, dword [esp + 0x10]
push 0x5a08e0
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b47f
mov edx, dword [esp + 0x10]
push 0x5a08dc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47beae
push 0x5a08d4
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47b472
lea edi, [ebp + 0xa0]
mov dword [ebp + 0x9c], 2
mov ecx, edi
call fcn.0049b551
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax - 8]
cmp ecx, eax
jge 0x47b433
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x118]
push edx
push eax
mov ecx, ebp
call fcn.0047e9f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x24
call fcn.0049b6b3
lea ecx, [esp + 0x114]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x47b420
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x25
call fcn.0049b6b3
lea ecx, [esp + 0x150]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov edx, dword [esp + 0x10]
push 0x5a08cc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b316
mov eax, dword [esp + 0x10]
push 0x5a08c8
push eax
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47b385
push ecx
mov dword [ebp + 0x9c], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5dfa7c
call fcn.0049b634
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2a8], 0x26
call fcn.0049b33b
lea eax, [esp + 0x128]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 5
call fcn.0047f850
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x27
call fcn.0049b6b3
lea ecx, [esp + 0x120]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov ecx, dword [esp + 0x10]
push 0x5a08c4
push ecx
call fcn.0048a804
add esp, 8
test eax, eax
je 0x47b3b1
mov edx, dword [esp + 0x10]
push 0x5a08bc
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47b420
push ecx
mov dword [ebp + 0x9c], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5dfa7c
call fcn.0049b634
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x28
call fcn.0049b33b
lea ecx, [esp + 0x160]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0047f850
push eax
mov ecx, edi
mov byte [esp + 0x2a0], 0x29
call fcn.0049b6b3
lea ecx, [esp + 0x158]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x47b24c
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 0x47b466
push 0x5a08b4
mov ecx, ebp
call fcn.0047c240
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x47bea7
push 0x5a08ac
mov ecx, ebp
call fcn.0047c240
mov eax, dword [esp + 0x2a8]
push eax
jmp 0x47bea7
push 0x5a08e4
mov ecx, esi
call fcn.0049b703
cmp edi, ebx
jne 0x47b609
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x130]
push edx
push eax
mov ecx, ebp
call fcn.0047e9f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0x1f
call fcn.0049b6b3
lea ecx, [esp + 0x12c]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x47beae
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x20
call fcn.0049b6b3
lea ecx, [esp + 0xfc]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
mov edx, dword [esp + 0x10]
push 0x5a08a4
push edx
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47beae
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5dfa7c
call fcn.0049b634
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x2a8], 0x21
call fcn.0049b33b
lea ecx, [esp + 0xac]
mov byte [esp + 0x2a4], 5
push ecx
mov ecx, ebp
call fcn.0047f850
push ebx
mov ecx, ebp
mov byte [esp + 0x2a0], 0x22
call fcn.0047c270
test eax, eax
je 0x47b5f0
lea edx, [esp + 0xa4]
lea eax, [esp + 0x168]
push edx
push 0x5a08a0
push eax
call fcn.0049b883
mov eax, dword [eax]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x2a4], 0x23
call fcn.0047c240
lea ecx, [esp + 0x168]
mov byte [esp + 0x29c], 0x22
call fcn.0049b5c6
mov ecx, dword [esp + 0x2a8]
push ecx
mov ecx, ebp
call fcn.0047c580
lea ecx, [esp + 0xa4]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
jmp 0x47beae
push 1
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0049b6b3
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47b654
mov ecx, dword [esp + 0x10]
push esi
push ecx
mov ecx, ebp
call fcn.0047c240
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
mov eax, dword [0x5a1228]
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.0049b551
lea ecx, [esp + 0x94]
call fcn.0049b551
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.0047f440
lea edx, [esp + 0x58]
mov ecx, ebp
push edx
call fcn.0047d1d0
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 0x47b954
cmp esi, ebx
jne 0x47b954
cmp edx, ebx
jne 0x47b954
cmp dword [ecx - 8], ebx
jne 0x47b954
lea eax, [ebp + 0x100]
cmp eax, ebx
je 0x47bca5
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47bca5
mov eax, dword [ebp + 0x104]
push eax
call dword [sym.imp.COMCTL32.DLL_ImageList_GetImageCount]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jge 0x47bca5
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 0x47bca5
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x11c], esi
test eax, eax
je 0x47b7c3
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 0x47b7eb
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 0x47b829
test esi, esi
je 0x47b829
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47b829
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 0x47b83d
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.0047c710
mov esi, dword [eax]
test ebx, ebx
mov edi, dword [eax + 4]
je 0x47b93e
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x47b93e
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x47b93e
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.0047c180
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x47b8dd
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x47b8dd
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.00485dc0
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 0x47bca5
cmp eax, ebx
mov dword [esp + 0x34], edi
je 0x47b966
push eax
mov ecx, ebp
call fcn.004754e0
jmp 0x47b99b
cmp dword [ecx - 8], ebx
je 0x47b975
push ecx
mov ecx, ebp
call fcn.00475520
jmp 0x47b99b
cmp esi, ebx
je 0x47b98b
mov eax, dword [esp + 0x94]
mov ecx, ebp
push eax
push esi
call fcn.00475540
jmp 0x47b99b
cmp edx, ebx
je 0x47bca5
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x34], ebx
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x47bca5
mov eax, dword [esp + 0x68]
test eax, eax
je 0x47bca5
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47bca5
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x244]
push edx
lea ecx, [ebp + 0xb8]
push eax
call fcn.00484030
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x84]
test eax, eax
mov dword [esp + 0x240], ecx
je 0x47ba08
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 0x47ba0c
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x47ba33
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 0x47ba37
mov eax, dword [esp + 0x74]
mov edi, ecx
mov esi, eax
test ecx, ecx
mov dword [esp + 0x234], edi
je 0x47ba69
test eax, eax
je 0x47ba69
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x47ba69
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 0x47bc92
test ecx, ecx
je 0x47bc92
test eax, eax
je 0x47bc92
mov ebx, dword [esp + 0x2b4]
test ebx, ebx
je 0x47bab7
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.0047c710
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 0x47bc8e
mov edx, dword [esp + 0x74]
test edx, edx
je 0x47bc8e
test ebx, ebx
jne 0x47bc8e
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.0047c180
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x47bb44
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
cmp eax, ecx
jne 0x47bb44
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.00485b30
push ebx
call esi
mov edi, dword [esp + 0x234]
add dword [esp + 0x20], edi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47bca5
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.0049b5c6
lea ecx, [esp + 0x90]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
xor ebx, ebx
jmp 0x47beae
push 0x5a096c
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47bcfb
mov dword [ebp + 0x6c], 1
mov edx, dword [esp + 0x2a8]
push edx
jmp 0x47bea7
push 0x5a089c
mov ecx, esi
call fcn.0049b703
mov eax, dword [esp + 0x10]
push 0x5a09a4
push eax
mov esi, 1
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47bd91
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0x10
call fcn.0049b6b3
lea ecx, [esp + 0x138]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.0047e110
mov esi, eax
lea edx, [esp + 0x20]
push esi
push edx
mov ecx, ebp
call fcn.0047c9a0
jmp 0x47beae
push 0x5a0890
mov ecx, esi
call fcn.0049b703
mov eax, dword [esp + 0x10]
push 0x5a09b0
push eax
mov esi, 1
call fcn.0048a804
add esp, 8
test eax, eax
jne 0x47be2c
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x59ff74
call fcn.0049b634
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.0047edb0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 0xf
call fcn.0049b6b3
lea ecx, [esp + 0x164]
mov byte [esp + 0x29c], 5
call fcn.0049b5c6
push ebx
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.0047e110
mov esi, eax
mov edx, dword [esp + 0x2b4]
lea eax, [esp + 0x20]
push edx
push esi
push eax
mov ecx, ebp
call fcn.0047c820
jmp 0x47beae
push 0x5a0884
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47be6c
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 0x47bea7
push 0x5a087c
mov ecx, esi
call fcn.0049b703
push edi
mov ecx, ebp
call fcn.0047c270
test eax, eax
je 0x47beae
cmp edi, ebx
jne 0x47be9f
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.0047c580
mov edx, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx]
mov eax, dword [eax - 8]
cmp ecx, eax
jl 0x4799d9
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push 1
push edx
mov ecx, ebp
call fcn.0047c820
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 0x47bf6b
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 0x47bf5c
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 0x47bf52
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 0x47bf09
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.0049b5c6
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x29c], 0x2b
call fcn.0049b5c6
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x29c], 0x2a
call fcn.0049b5c6
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x29c], 4
call fcn.0049b5c6
lea ecx, [esp + 0x18]
mov byte [esp + 0x29c], 3
call fcn.0049b5c6
lea ecx, [esp + 0x10]
mov byte [esp + 0x29c], 2
call fcn.0049b5c6
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 1
call fcn.0049b5c6
lea ecx, [esp + 0x28]
mov dword [esp + 0x29c], 0xffffffff
call fcn.0049b5c6
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