Function at 0x10047d4d
Capabilities:
Contain obfuscated stackstrings
Get common file path
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a28d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3a4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10049441
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
movzx eax, byte [eax]
test eax, eax
je 0x1004941b
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10047dd5
jmp 0x100495a1
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
je 0x10047df4
jmp 0x100495a1
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x10047e12
jmp 0x100495a1
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x160], 0
jmp 0x10047e46
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x38]
add eax, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x160], eax
jge 0x10047ead
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x184]
jb 0x10047eab
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
call fcn.10047533
pop ecx
pop ecx
add eax, dword [ebp - 0x184]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x23c]
jae 0x10047eab
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x10047ead
jmp 0x10047e30
cmp dword [ebp - 0x24], 0
jne 0x10047eb8
jmp 0x100495a1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.1003e028
push eax
call fcn.100543b7
pop ecx
mov byte [ebp - 0x70], 3
mov byte [ebp - 0x6f], 0xf7
mov byte [ebp - 0x6e], 7
mov byte [ebp - 0x6d], 1
mov byte [ebp - 0x6c], 2
mov byte [ebp - 0x6b], 1
mov byte [ebp - 0x6a], 0
mov byte [ebp - 0x69], 6
mov byte [ebp - 0x68], 4
mov byte [ebp - 0x67], 0xb3
mov byte [ebp - 0x66], 0xa
mov byte [ebp - 0x65], 0x25
mov byte [ebp - 0x64], 0xb2
mov byte [ebp - 0x63], 6
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 8
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 9
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x5c], 5
mov byte [ebp - 0x5b], 4
mov byte [ebp - 0x5a], 0xd
mov byte [ebp - 0x59], 5
mov byte [ebp - 0x58], 9
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x70]
and eax, 0xc0
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
or ecx, 0xc0
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
mov byte [ebp + eax - 0x1b4], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x104], 0
jmp 0x10047f85
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x19
jae 0x1004804d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10047fc6
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x70]
inc eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x70]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10047f7d
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x104]
movzx eax, byte [ebp + eax - 0x72]
movsx eax, byte [ebp + eax - 0x1b4]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x6f]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x104]
movzx eax, byte [ebp + eax - 0x72]
movsx eax, byte [ebp + eax - 0x1b4]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x6f]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x70]
mov byte [ebp + eax - 0x1b4], dl
lea eax, [ebp - 0x104]
push eax
push 0x22a
push 0x4bcd
push 0
push 0xe1c
push 0
push 0x1bec
push 0x4860
push 0x7f0f
call fcn.10047b6a
add esp, 0x24
jmp 0x10047f7d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1b4], 0
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1003abe8
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x258]
call fcn.1003dfed
pop ecx
mov dword [ebp - 0x1cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30c]
call fcn.1003ac17
and dword [ebp - 0x10c], 0
jmp 0x100480be
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xb
jae 0x100480d7
mov eax, dword [ebp - 0x10c]
mov byte [ebp + eax - 0x1b4], 0
jmp 0x100480b1
mov byte [ebp - 0x154], 0
mov byte [ebp - 0x153], 0x6c
mov byte [ebp - 0x152], 0x29
mov byte [ebp - 0x151], 0x38
mov byte [ebp - 0x150], 0xaa
mov byte [ebp - 0x14f], 0xb
mov byte [ebp - 0x14e], 0x39
mov byte [ebp - 0x14d], 0x99
mov byte [ebp - 0x14c], 0xec
mov byte [ebp - 0x14b], 0x2f
mov byte [ebp - 0x14a], 0x26
mov byte [ebp - 0x149], 0x6d
mov byte [ebp - 0x148], 0x1c
mov byte [ebp - 0x147], 0xa4
mov byte [ebp - 0x146], 0x2e
mov byte [ebp - 0x145], 0xc9
mov byte [ebp - 0x144], 0x21
mov byte [ebp - 0x143], 0xfa
mov byte [ebp - 0x142], 0x80
mov byte [ebp - 0x141], 0xc6
mov byte [ebp - 0x140], 0x71
mov byte [ebp - 0x13f], 0xb8
mov byte [ebp - 0x13e], 0xe
mov byte [ebp - 0x13d], 0x3f
mov byte [ebp - 0x13c], 0x3e
mov byte [ebp - 0x13b], 0xe5
mov byte [ebp - 0x13a], 0xc0
mov byte [ebp - 0x139], 0x39
mov byte [ebp - 0x138], 0xec
mov byte [ebp - 0x137], 0x1e
mov byte [ebp - 0x136], 0xa
mov byte [ebp - 0x135], 0xc5
mov byte [ebp - 0x134], 0xd0
mov byte [ebp - 0x133], 0x8a
mov byte [ebp - 0x132], 0xd1
mov byte [ebp - 0x131], 0xc6
mov byte [ebp - 0x130], 0x33
mov byte [ebp - 0x12f], 0xc7
mov byte [ebp - 0x12e], 0x8e
mov byte [ebp - 0x12d], 0xc1
mov byte [ebp - 0x12c], 0x23
mov byte [ebp - 0x12b], 0x19
mov byte [ebp - 0x12a], 0xf5
mov byte [ebp - 0x129], 0xc2
mov byte [ebp - 0x128], 3
mov byte [ebp - 0x127], 3
mov byte [ebp - 0x126], 9
mov byte [ebp - 0x125], 2
mov byte [ebp - 0x124], 1
mov byte [ebp - 0x123], 6
mov byte [ebp - 0x122], 8
mov byte [ebp - 0x121], 6
mov byte [ebp - 0x120], 5
mov byte [ebp - 0x11f], 1
mov byte [ebp - 0x11e], 2
mov byte [ebp - 0x11d], 6
mov byte [ebp - 0x11c], 4
mov byte [ebp - 0x11b], 3
mov byte [ebp - 0x11a], 7
mov byte [ebp - 0x119], 2
mov byte [ebp - 0x118], 6
mov byte [ebp - 0x117], 0xf
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x154]
and eax, 0x5d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x154]
or ecx, 0x5d
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x154]
mov byte [ebp + eax - 0x1a8], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x50], 0
jmp 0x100482d7
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e
jae 0x1004853c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x154]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004831e
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x154]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x154]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x100482cf
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0x156]
movsx eax, byte [ebp + eax - 0x1a8]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x153]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0x156]
movsx eax, byte [ebp + eax - 0x1a8]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x153]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
movzx eax, byte [ebp + eax - 0x156]
movsx eax, byte [ebp + eax - 0x1a8]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x153]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x154]
mov byte [ebp + eax - 0x1a8], bl
mov dword [ebp - 0x19c], 0x4abf
mov dword [ebp - 0x208], 0x1000bfb0
cmp dword [ebp - 0x19c], 0x4b44
jle 0x100484ee
and dword [ebp - 0xb0], 0
jmp 0x100483d7
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x1139
jge 0x100484cf
and dword [ebp - 0xc0], 0
jmp 0x100483fd
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x6784
jge 0x100484ca
and dword [ebp - 0x114], 0
jmp 0x10048423
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x3970
jge 0x100484c5
and dword [ebp - 0x100], 0
jmp 0x10048449
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x3e76
jge 0x100484c0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x100]
shl eax, cl
mov ecx, dword [ebp - 0xb0]
imul ecx, dword [ebp - 0xc0]
and eax, ecx
cdq
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], edx
push dword [ebp - 0x200]
push dword [ebp - 0x204]
lea ecx, [ebp - 0x354]
call fcn.1000dd90
pop ecx
pop ecx
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
call fcn.10033580
push eax
call fcn.10053d16
pop ecx
lea ecx, [ebp - 0x354]
call fcn.10033576
jmp 0x1004843c
jmp 0x10048416
jmp 0x100483f0
jmp 0x100483ca
push 0x124
push 0x804
push 0xc79
push 0x1799
push 0xea8
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
and dword [ebp - 0x50], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x19c], 0x46de
jge 0x10048511
push dword [ebp - 0x208]
call fcn.10053d16
pop ecx
jmp 0x1004852d
or dword [ebp - 4], 0xffffffff
jmp 0x10048537
jmp 0x100482cf
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1a8], 0
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x384]
call fcn.1003abe8
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1c4]
call fcn.1003dfed
pop ecx
mov dword [ebp - 0x24c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.1003ac17
and dword [ebp - 0xb8], 0
jmp 0x100485b0
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x100485c9
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x1a8], 0
jmp 0x100485a3
push dword [ebp - 0x24c]
push dword [ebp - 0x1cc]
call fcn.10045ae9
pop ecx
pop ecx
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x190]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.10045ae9
pop ecx
pop ecx
add eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10048624
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
push 0
call fcn.10045ae9
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x4c], 0
jmp 0x10048646
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x40]
jge 0x10048702
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x4c], eax
jae 0x10048692
push 0x5655
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 0
push 0x394
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10047b6a
add esp, 0x24
jmp 0x100486b2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 0x14]
call fcn.10045ae9
pop ecx
pop ecx
mov dword [ebp - 0x188], eax
push 0x6edc
lea eax, [ebp - 0x24]
push eax
push 0
push 0x52f
lea eax, [ebp - 0x28]
push eax
push 0x1abc
push 0x3291
lea eax, [ebp - 0x188]
push eax
push 0xcdb
push 0x2f4d
lea eax, [ebp - 0x14]
push eax
push 0x13a2
push 1
call fcn.100477fd
add esp, 0x34
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x1004863f
mov dword [ebp - 0x17c], 0x1dbd
mov dword [ebp - 0x1d4], 0x1000c018
cmp dword [ebp - 0x17c], 0x1ff8
jle 0x1004883b
push 0x1b4c
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [ebp - 0xc8], 0
jmp 0x10048749
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x45c0
jge 0x1004883b
and dword [ebp - 0xcc], 0
jmp 0x1004876f
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x3943
jge 0x10048836
and dword [ebp - 0xc4], 0
jmp 0x10048795
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x3bc5
jge 0x10048831
and dword [ebp - 0xa8], 0
jmp 0x100487bb
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x400c
jge 0x1004882c
mov ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xcc]
sar eax, cl
and eax, dword [ebp - 0xc8]
cdq
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
lea ecx, [ebp - 0x3b4]
call fcn.1000dd90
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
call fcn.10033580
push eax
call fcn.10053d16
pop ecx
lea ecx, [ebp - 0x3b4]
call fcn.10033576
jmp 0x100487ae
jmp 0x10048788
jmp 0x10048762
jmp 0x1004873c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x17c], 0x1ade
jge 0x10048869
push dword [ebp - 0x1d4]
call fcn.10053d16
pop ecx
jmp 0x10048885
or dword [ebp - 4], 0xffffffff
jmp 0x1004888f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x15c], 0
jmp 0x100488b1
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x40]
jge 0x10048a48
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
and dword [ecx + eax], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 1
push 0x202f
push 0x2b6f
push 0x5b2c
push 0x3a8b
push 0x74cc
push 0x3906
push 0x2721
push 0x35f9
call fcn.100475c8
add esp, 0x2c
mov dword [ebp - 0x170], 0x216
mov dword [ebp - 0x1dc], 0x1000c03c
cmp dword [ebp - 0x170], 0x4c7
jle 0x100489fe
and dword [ebp - 0xf0], 0
jmp 0x1004893f
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x722d
jge 0x100489fe
and dword [ebp - 0xd0], 0
jmp 0x10048965
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x840
jge 0x100489f9
and dword [ebp - 0x110], 0
jmp 0x1004898b
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x7ecf
jge 0x100489f4
mov eax, dword [ebp - 0xf0]
and eax, dword [ebp - 0xd0]
xor eax, dword [ebp - 0x110]
cdq
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edx
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x2dc]
call fcn.1000dd90
pop ecx
pop ecx
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
call fcn.10033580
push eax
call fcn.10053d16
pop ecx
lea ecx, [ebp - 0x2dc]
call fcn.10033576
jmp 0x1004897e
jmp 0x10048958
jmp 0x10048932
mov dword [ebp - 4], 6
cmp dword [ebp - 0x170], 0xfffffe67
jge 0x10048a1d
push dword [ebp - 0x1dc]
call fcn.10053d16
pop ecx
jmp 0x10048a39
or dword [ebp - 4], 0xffffffff
jmp 0x10048a43
jmp 0x100488a4
push 0x7f10
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 0x606f
push 0x6a91
lea eax, [ebp - 0x40]
push eax
push 0x614d
push 0x68a5
lea eax, [ebp - 0x14]
push eax
push 0x3827
call fcn.100475c8
add esp, 0x2c
push 0x75bd
push 1
push 0x6588
push 0x4d05
push 0x5ee0
push 0x6283
lea eax, [ebp - 0x18]
push eax
push 0xaa0
push 0x37f0
lea eax, [ebp - 0x44]
push eax
push 0x3e82
push 0
push 0x2505
call fcn.100476d5
add esp, 0x34
and dword [ebp - 0xd8], 0
jmp 0x10048ad5
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x40]
jge 0x10048b2b
lea eax, [ebp - 0x24]
push eax
push 1
push 0x1936
push 0x6a17
push 0x4236
lea eax, [ebp - 0x28]
push eax
push 0x11fd
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7745
push 0x4138
push 1
lea eax, [ebp - 0xd8]
push eax
call fcn.100476d5
add esp, 0x34
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10048ac8
mov eax, dword [ebp - 0x40]
shl eax, 1
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.1003abe8
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x28c]
call fcn.1003ac63
mov dword [ebp - 0x18c], eax
push dword [ebp - 0x18c]
mov eax, dword [ebp - 0x18c]
shr eax, 1
push eax
call fcn.10045ae9
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0xa4], 3
mov byte [ebp - 0xa3], 0xab
mov byte [ebp - 0xa2], 2
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa0], 1
mov byte [ebp - 0x9f], 8
mov byte [ebp - 0x9e], 0
mov byte [ebp - 0x9d], 0x4a
mov byte [ebp - 0x9c], 0x20
mov byte [ebp - 0x9b], 0x8a
mov byte [ebp - 0x9a], 0x8a
mov byte [ebp - 0x99], 0xf2
mov byte [ebp - 0x98], 0x11
mov byte [ebp - 0x97], 0x3c
mov byte [ebp - 0x96], 0x3e
mov byte [ebp - 0x95], 0xad
mov byte [ebp - 0x94], 0x44
mov byte [ebp - 0x93], 0xb8
mov byte [ebp - 0x92], 0x3a
mov byte [ebp - 0x91], 0xc6
mov byte [ebp - 0x90], 0x1b
mov byte [ebp - 0x8f], 0x68
mov byte [ebp - 0x8e], 0x43
mov byte [ebp - 0x8d], 0x3b
mov byte [ebp - 0x8c], 2
mov byte [ebp - 0x8b], 0x19
mov byte [ebp - 0x8a], 0x85
mov byte [ebp - 0x89], 0x8e
mov byte [ebp - 0x88], 0x8e
mov byte [ebp - 0x87], 0x5c
mov byte [ebp - 0x86], 0xf9
mov byte [ebp - 0x85], 0x73
mov byte [ebp - 0x84], 0x1b
mov byte [ebp - 0x83], 0x17
mov byte [ebp - 0x82], 0xe7
mov byte [ebp - 0x81], 0x88
mov byte [ebp - 0x80], 0x96
mov byte [ebp - 0x7f], 0xda
mov byte [ebp - 0x7e], 0x46
mov byte [ebp - 0x7d], 0x1b
mov byte [ebp - 0x7c], 0xd3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa4]
and eax, 0xc7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
or ecx, 0xc7
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa4]
mov byte [ebp + eax - 0x78], cl
mov dword [ebp - 0x30], 2
and dword [ebp - 0xf8], 0
jmp 0x10048ce7
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x29
jae 0x10048f48
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x10048d31
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xa4]
inc eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xa4]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x10048cdf
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xf8]
movzx eax, byte [ebp + eax - 0xa6]
movsx eax, byte [ebp + eax - 0x78]
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0xa3]
and ecx, eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xf8]
movzx eax, byte [ebp + eax - 0xa6]
movsx eax, byte [ebp + eax - 0x78]
mov edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0xa3]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xa4]
mov byte [ebp + eax - 0x78], dl
push 0x5591
push 0
push 0x5dd3
push 0x2539
push 0x5990
lea eax, [ebp - 0xf8]
push eax
push 0x15fe
push 0x575b
push 0x16c
push 0x4ceb
push 1
push 0x562f
push 0x3ee3
call fcn.10047a6b
add esp, 0x34
mov dword [ebp - 0x178], 0x1114
mov dword [ebp - 0x1e4], 0x1000c094
cmp dword [ebp - 0x178], 0x136b
jle 0x10048efb
and dword [ebp - 0xe0], 0
jmp 0x10048e07
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x3a55
jge 0x10048efb
and dword [ebp - 0x108], 0
jmp 0x10048e2d
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x3b90
jge 0x10048ef6
and dword [ebp - 0xe8], 0
jmp 0x10048e53
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x5c2f
jge 0x10048ef1
and dword [ebp - 0xac], 0
jmp 0x10048e79
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x5293
jge 0x10048eec
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x108]
shl eax, cl
mov ecx, dword [ebp - 0xe8]
shl eax, cl
or eax, dword [ebp - 0xac]
cdq
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edx
push dword [ebp - 0x224]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x36c]
call fcn.1000dd90
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.10033580
push eax
call fcn.10053d16
pop ecx
lea ecx, [ebp - 0x36c]
call fcn.10033576
jmp 0x10048e6c
jmp 0x10048e46
jmp 0x10048e20
jmp 0x10048dfa
mov byte [ebp - 4], 9
cmp dword [ebp - 0x178], 0x10f9
jge 0x10048f17
push dword [ebp - 0x1e4]
call fcn.10053d16
pop ecx
jmp 0x10048f33
mov dword [ebp - 4], 8
jmp 0x10048f43
jmp 0x10048cdf
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x78], 0
cmp dword [ebp - 0x54], 4
jle 0x1004900a
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x324]
call fcn.1003abe8
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
sub eax, 4
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.10045fd3
pop ecx
pop ecx
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x22c]
mov edx, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x39c]
call fcn.1004b91d
pop ecx
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x194], eax
jmp 0x10049036
push dword [ebp - 0x54]
lea eax, [ebp - 0x33c]
push eax
call fcn.10045fd3
pop ecx
pop ecx
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1bc], eax
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x2ac]
call fcn.1004b598
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x10049071
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x33c]
call fcn.1003ac17
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x1004908c
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x39c]
call fcn.1003ac17
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x100490a7
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x2f4]
call fcn.1003ac17
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x100490c2
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x324]
call fcn.1003ac17
and dword [ebp - 0xb4], 0
jmp 0x100490d8
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 5
jae 0x100490ee
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x78], 0
jmp 0x100490cb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.1004b5f1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
mov dword [ebp - 0x180], 0x5b2a
mov dword [ebp - 0x1b8], 0x1000c100
cmp dword [ebp - 0x180], 0x5daf
jle 0x10049203
push 0x51
push 0x1021
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
and dword [ebp - 0xbc], 0
jmp 0x10049171
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x2e7f
jge 0x10049203
and dword [ebp - 0xd4], 0
jmp 0x10049197
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x49ce
jge 0x100491fe
and dword [ebp - 0xdc], 0
jmp 0x100491b9
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x1fef
jge 0x100491fc
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0xdc]
cdq
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
push dword [ebp - 0x230]
push dword [ebp - 0x234]
mov ecx, 0x10612a38
call fcn.100335a0
jmp 0x100491ac
jmp 0x1004918a
jmp 0x10049164
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x180], 0x5b12
jge 0x1004922a
mov edx, dword [ebp - 0x1b8]
mov ecx, 0x10612a38
call fcn.1003504a
jmp 0x10049246
mov dword [ebp - 4], 0x11
jmp 0x10049256
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x100492b4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10049288
mov dword [ebp - 0x198], 0xc
jmp 0x100492a6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x168], eax
jmp 0x100492bb
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x164], eax
and dword [ebp - 0xe4], 0
jmp 0x100492dd
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax + 0x18]
jae 0x100493b8
push dword [ebp - 0x164]
mov eax, dword [ebp - 0x164]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10045ae9
pop ecx
pop ecx
mov dword [ebp - 0x158], eax
push dword [ebp - 0x158]
lea eax, [ebp - 0x2c4]
push eax
call fcn.10045fd3
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x14]
push eax
push 1
push 0xd8d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x13eb
lea eax, [ebp - 0x24]
push eax
push 0x2666
lea eax, [ebp - 0xe4]
push eax
push 0x2fc9
push 1
push 0x3d87
push 0xb39
call fcn.10047a6b
add esp, 0x34
push 0
push dword [ebp - 0x158]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.1004b5f1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x158]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.1003ac17
jmp 0x100492d0
and dword [ebp - 0x48], 0
jmp 0x100493c5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x48], eax
jae 0x100493ec
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x100493be
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.1003ac17
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1003ac17
jmp 0x1004943c
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
and dword [eax], 0
jmp 0x100495a1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x26c], 0xba2afe01
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x174], 0xce55
mov dword [ebp - 0xec], 0
jmp 0x10049494
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 2
jge 0x100494b0
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x294], 0
jmp 0x10049487
mov dword [ebp - 0xf4], 0xffffffe7
jmp 0x100494c9
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x19
jl 0x10049577
mov dword [ebp - 0x268], 4
mov dword [ebp - 0x274], 0x7f2fb5a5
push 3
lea ecx, [ebp - 0x264]
call fcn.100336b5
mov dword [ebp - 4], 0x15
mov dword [ebp - 0xfc], 0
jmp 0x10049517
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 3
jge 0x10049536
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x264]
call fcn.10033753
or dword [eax], 0xffffffff
jmp 0x1004950a
mov eax, dword [ebp - 0x174]
dec eax
mov dword [ebp - 0x174], eax
push 1
lea ecx, [ebp - 0x264]
call fcn.10033753
mov esi, eax
push 1
lea ecx, [ebp - 0x264]
call fcn.10033753
mov eax, dword [eax]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10033737
jmp 0x100494bc
push 0x11a4
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e8]
push 0x326f
push 0x7eae
push 0x19a1
push 0
call fcn.1004758b
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret