Function at 0x407040
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov byte [esp + 0x27], 0x23
mov byte [esp + 0x28], 0x71
mov byte [esp + 0x29], 0x3d
mov byte [esp + 0x2a], 0x71
mov byte [esp + 0x2b], 0x56
mov byte [esp + 0x2c], 0x71
mov byte [esp + 0x2d], 0x22
mov byte [esp + 0x2e], 0x71
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x71
mov byte [esp + 0x31], 0x22
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x62
mov byte [esp + 0x34], 0x71
mov byte [esp + 0x35], 0x55
mov byte [esp + 0x36], 0x71
mov byte [esp + 0x37], 0x71
push ebx
mov byte [esp + 0x3c], 0x71
mov al, byte [esp + 0x2b]
push esi
mov byte [esp + 0x41], 0
cmp byte [esp + 0x41], 0
push edi
mov edi, 0x7f
jne 0x4070e2
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0x33]
movzx eax, al
sub eax, 0x71
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ecx + 0x33], dl
inc ecx
cmp ecx, 0x12
jb 0x4070c0
lea eax, [esp + 0x33]
mov dword [esp + 0x188], eax
mov byte [esp + 0x17], 0x26
mov byte [esp + 0x18], 0x73
mov byte [esp + 0x19], 0x77
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0xd
mov byte [esp + 0x1c], 0x73
mov byte [esp + 0x1d], 0x18
mov byte [esp + 0x1e], 0x73
mov byte [esp + 0x1f], 0x70
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x73
mov al, byte [esp + 0x17]
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
jne 0x407167
xor esi, esi
nop dword [eax + eax]
mov al, byte [esp + esi + 0x17]
mov ecx, 0x73
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x17], dl
inc esi
cmp esi, 0xc
jb 0x407140
lea eax, [esp + 0x17]
mov dword [esp + 0x18c], eax
mov byte [esp + 0xbe], 0x41
mov byte [esp + 0xbf], 0x70
mov byte [esp + 0xc0], 0x45
mov byte [esp + 0xc1], 0x70
mov byte [esp + 0xc2], 0x1a
mov byte [esp + 0xc3], 0x70
mov byte [esp + 0xc4], 0x4e
mov byte [esp + 0xc5], 0x70
mov byte [esp + 0xc6], 0xe
mov byte [esp + 0xc7], 0x70
mov byte [esp + 0xc8], 0x4e
mov byte [esp + 0xc9], 0x70
mov byte [esp + 0xca], 0x62
mov byte [esp + 0xcb], 0x70
mov byte [esp + 0xcc], 0x1a
mov byte [esp + 0xcd], 0x70
mov byte [esp + 0xce], 0x3b
mov byte [esp + 0xcf], 0x70
mov byte [esp + 0xd0], 0x68
mov byte [esp + 0xd1], 0x70
mov byte [esp + 0xd2], 0x31
mov byte [esp + 0xd3], 0x70
mov byte [esp + 0xd4], 0x2e
mov byte [esp + 0xd5], 0x70
mov byte [esp + 0xd6], 0x70
mov byte [esp + 0xd7], 0x70
mov al, byte [esp + 0xbe]
mov byte [esp + 0xd8], 0
cmp byte [esp + 0xd8], 0
jne 0x40728a
xor esi, esi
nop dword [eax]
mov al, byte [esp + esi + 0xbe]
mov ecx, 0x70
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2c
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0xbe], dl
inc esi
cmp esi, 0x1a
jb 0x407260
lea eax, [esp + 0xbe]
mov dword [esp + 0x190], eax
mov byte [esp + 0x24], 0x3c
mov byte [esp + 0x25], 8
mov byte [esp + 0x26], 0x55
mov byte [esp + 0x27], 8
mov byte [esp + 0x28], 0x55
mov byte [esp + 0x29], 8
mov byte [esp + 0x2a], 0x3c
mov byte [esp + 0x2b], 8
mov byte [esp + 0x2c], 0x1c
mov byte [esp + 0x2d], 8
mov byte [esp + 0x2e], 0x16
mov byte [esp + 0x2f], 8
mov byte [esp + 0x30], 8
mov byte [esp + 0x31], 8
mov al, byte [esp + 0x24]
mov byte [esp + 0x32], 0
cmp byte [esp + 0x32], 0
jne 0x407317
xor esi, esi
mov al, byte [esp + esi + 0x24]
mov ecx, 8
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x24], dl
inc esi
cmp esi, 0xe
jb 0x4072f0
lea eax, [esp + 0x24]
mov dword [esp + 0x194], eax
mov byte [esp + 0x79], 0x71
mov byte [esp + 0x7a], 0x36
mov byte [esp + 0x7b], 0x61
mov byte [esp + 0x7c], 0x36
mov byte [esp + 0x7d], 0xc
mov byte [esp + 0x7e], 0x36
mov byte [esp + 0x7f], 0x6e
mov byte [esp + 0x80], 0x36
mov byte [esp + 0x81], 0x3d
mov byte [esp + 0x82], 0x36
mov byte [esp + 0x83], 0x64
mov byte [esp + 0x84], 0x36
mov byte [esp + 0x85], 0x7b
mov byte [esp + 0x86], 0x36
mov byte [esp + 0x87], 0x19
mov byte [esp + 0x88], 0x36
mov byte [esp + 0x89], 0x36
mov byte [esp + 0x8a], 0x36
mov al, byte [esp + 0x79]
mov byte [esp + 0x8b], 0
cmp byte [esp + 0x8b], 0
jne 0x4073e4
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x79]
mov ecx, 0x36
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x27
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x79], dl
inc esi
cmp esi, 0x12
jb 0x4073c0
lea eax, [esp + 0x79]
mov dword [esp + 0x198], eax
mov byte [esp + 0x153], 0x68
mov byte [esp + 0x154], 0x24
mov byte [esp + 0x155], 0x46
mov byte [esp + 0x156], 0x24
mov byte [esp + 0x157], 0x68
mov byte [esp + 0x158], 0x24
mov byte [esp + 0x159], 0x38
mov byte [esp + 0x15a], 0x24
mov byte [esp + 0x15b], 0xe
mov byte [esp + 0x15c], 0x24
mov byte [esp + 0x15d], 0xb
mov byte [esp + 0x15e], 0x24
mov byte [esp + 0x15f], 0x18
mov byte [esp + 0x160], 0x24
mov byte [esp + 0x161], 0x57
mov byte [esp + 0x162], 0x24
mov byte [esp + 0x163], 0x2a
mov byte [esp + 0x164], 0x24
mov byte [esp + 0x165], 0x3b
mov byte [esp + 0x166], 0x24
mov byte [esp + 0x167], 8
mov byte [esp + 0x168], 0x24
mov byte [esp + 0x169], 0xb
mov byte [esp + 0x16a], 0x24
mov byte [esp + 0x16b], 0xe
mov byte [esp + 0x16c], 0x24
mov byte [esp + 0x16d], 0x18
mov byte [esp + 0x16e], 0x24
mov byte [esp + 0x16f], 0x4c
mov byte [esp + 0x170], 0x24
mov byte [esp + 0x171], 0x5a
mov byte [esp + 0x172], 0x24
mov byte [esp + 0x173], 0x5d
mov byte [esp + 0x174], 0x24
mov byte [esp + 0x175], 0x2a
mov byte [esp + 0x176], 0x24
mov byte [esp + 0x177], 0x19
mov byte [esp + 0x178], 0x24
mov byte [esp + 0x179], 0xb
mov byte [esp + 0x17a], 0x24
mov byte [esp + 0x17b], 0x4f
mov byte [esp + 0x17c], 0x24
mov byte [esp + 0x17d], 0x38
mov byte [esp + 0x17e], 0x24
mov byte [esp + 0x17f], 0x4c
mov byte [esp + 0x180], 0x24
mov byte [esp + 0x181], 0x2a
mov byte [esp + 0x182], 0x24
mov byte [esp + 0x183], 0x5a
mov byte [esp + 0x184], 0x24
mov byte [esp + 0x185], 0x24
mov byte [esp + 0x186], 0x24
mov al, byte [esp + 0x153]
mov byte [esp + 0x187], 0
cmp byte [esp + 0x187], 0
jne 0x4075da
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x153]
mov ecx, 0x24
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2d
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x153], dl
inc esi
cmp esi, 0x34
jb 0x4075b0
lea eax, [esp + 0x153]
mov dword [esp + 0x19c], eax
mov byte [esp + 0x46], 0x79
mov byte [esp + 0x47], 0x13
mov byte [esp + 0x48], 0x6d
mov byte [esp + 0x49], 0x13
mov byte [esp + 0x4a], 0x4d
mov byte [esp + 0x4b], 0x13
mov byte [esp + 0x4c], 0xe
mov byte [esp + 0x4d], 0x13
mov byte [esp + 0x4e], 0x60
mov byte [esp + 0x4f], 0x13
mov byte [esp + 0x50], 0x79
mov byte [esp + 0x51], 0x13
mov byte [esp + 0x52], 0x2d
mov byte [esp + 0x53], 0x13
mov byte [esp + 0x54], 0x13
mov byte [esp + 0x55], 0x13
mov al, byte [esp + 0x46]
mov byte [esp + 0x56], 0
cmp byte [esp + 0x56], 0
jne 0x407677
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x46]
mov ecx, 0x13
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x46], dl
inc esi
cmp esi, 0x10
jb 0x407650
lea eax, [esp + 0x46]
mov dword [esp + 0x1a0], eax
mov byte [esp + 0x57], 7
mov byte [esp + 0x58], 0x61
mov byte [esp + 0x59], 0x11
mov byte [esp + 0x5a], 0x61
mov byte [esp + 0x5b], 0x48
mov byte [esp + 0x5c], 0x61
mov byte [esp + 0x5d], 0x72
mov byte [esp + 0x5e], 0x61
mov byte [esp + 0x5f], 2
mov byte [esp + 0x60], 0x61
mov byte [esp + 0x61], 2
mov byte [esp + 0x62], 0x61
mov byte [esp + 0x63], 0x4a
mov byte [esp + 0x64], 0x61
mov byte [esp + 0x65], 0x61
mov byte [esp + 0x66], 0x61
mov al, byte [esp + 0x57]
mov byte [esp + 0x67], 0
cmp byte [esp + 0x67], 0
jne 0x407704
xor ecx, ecx
mov al, byte [esp + ecx + 0x57]
movzx eax, al
sub eax, 0x61
imul eax, eax, 0x33
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ecx + 0x57], dl
inc ecx
cmp ecx, 0x10
jb 0x4076e4
lea eax, [esp + 0x57]
mov dword [esp + 0x1a4], eax
mov byte [esp + 0x68], 0x1d
mov byte [esp + 0x69], 0x74
mov byte [esp + 0x6a], 9
mov byte [esp + 0x6b], 0x74
mov byte [esp + 0x6c], 9
mov byte [esp + 0x6d], 0x74
mov byte [esp + 0x6e], 0x19
mov byte [esp + 0x6f], 0x74
mov byte [esp + 0x70], 0x1d
mov byte [esp + 0x71], 0x74
mov byte [esp + 0x72], 0x2e
mov byte [esp + 0x73], 0x74
mov byte [esp + 0x74], 0x1d
mov byte [esp + 0x75], 0x74
mov byte [esp + 0x76], 0x74
mov byte [esp + 0x77], 0x74
mov al, byte [esp + 0x68]
mov byte [esp + 0x78], 0
cmp byte [esp + 0x78], 0
jne 0x407795
xor esi, esi
mov al, byte [esp + esi + 0x68]
movzx ecx, al
sub ecx, 0x74
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x68], dl
inc esi
cmp esi, 0x10
jb 0x407771
lea eax, [esp + 0x68]
mov dword [esp + 0x1a8], eax
mov byte [esp + 0x8c], 0x14
mov byte [esp + 0x8d], 0x13
mov byte [esp + 0x8e], 0x20
mov byte [esp + 0x8f], 0x13
mov byte [esp + 0x90], 0x65
mov byte [esp + 0x91], 0x13
mov byte [esp + 0x92], 0x78
mov byte [esp + 0x93], 0x13
mov byte [esp + 0x94], 0x72
mov byte [esp + 0x95], 0x13
mov byte [esp + 0x96], 0x65
mov byte [esp + 0x97], 0x13
mov byte [esp + 0x98], 0x20
mov byte [esp + 0x99], 0x13
mov byte [esp + 0x9a], 0x59
mov byte [esp + 0x9b], 0x13
mov byte [esp + 0x9c], 0x7c
mov byte [esp + 0x9d], 0x13
mov byte [esp + 0x9e], 0x38
mov byte [esp + 0x9f], 0x13
mov byte [esp + 0xa0], 0x65
mov byte [esp + 0xa1], 0x13
mov byte [esp + 0xa2], 0x13
mov byte [esp + 0xa3], 0x13
mov al, byte [esp + 0x8c]
mov byte [esp + 0xa4], 0
cmp byte [esp + 0xa4], 0
jne 0x4078aa
xor esi, esi
nop dword [eax + eax]
mov al, byte [esp + esi + 0x8c]
mov ecx, 0x13
movzx eax, al
sub ecx, eax
imul eax, ecx, 0xb
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x8c], dl
inc esi
cmp esi, 0x18
jb 0x407880
lea eax, [esp + 0x8c]
mov dword [esp + 0x1ac], eax
mov byte [esp + 0xd9], 0x45
mov byte [esp + 0xda], 0x14
mov byte [esp + 0xdb], 0x7a
mov byte [esp + 0xdc], 0x14
mov byte [esp + 0xdd], 0x6e
mov byte [esp + 0xde], 0x14
mov byte [esp + 0xdf], 0x4e
mov byte [esp + 0xe0], 0x14
mov byte [esp + 0xe1], 0xf
mov byte [esp + 0xe2], 0x14
mov byte [esp + 0xe3], 0x61
mov byte [esp + 0xe4], 0x14
mov byte [esp + 0xe5], 0x7a
mov byte [esp + 0xe6], 0x14
mov byte [esp + 0xe7], 0x2e
mov byte [esp + 0xe8], 0x14
mov byte [esp + 0xe9], 5
mov byte [esp + 0xea], 0x14
mov byte [esp + 0xeb], 1
mov byte [esp + 0xec], 0x14
mov byte [esp + 0xed], 0x7a
mov byte [esp + 0xee], 0x14
mov byte [esp + 0xef], 0x2e
mov byte [esp + 0xf0], 0x14
mov byte [esp + 0xf1], 0x14
mov byte [esp + 0xf2], 0x14
mov al, byte [esp + 0xd9]
mov byte [esp + 0xf3], 0
cmp byte [esp + 0xf3], 0
jne 0x4079dd
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov al, byte [esp + esi + 0xd9]
mov ecx, 0x14
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0xd9], dl
inc esi
cmp esi, 0x1a
jb 0x4079b0
lea eax, [esp + 0xd9]
mov dword [esp + 0x1b0], eax
mov byte [esp + 0x130], 0x43
mov byte [esp + 0x131], 0x18
mov byte [esp + 0x132], 0x6d
mov byte [esp + 0x133], 0x18
mov byte [esp + 0x134], 0x6d
mov byte [esp + 0x135], 0x18
mov byte [esp + 0x136], 0x2f
mov byte [esp + 0x137], 0x18
mov byte [esp + 0x138], 0x40
mov byte [esp + 0x139], 0x18
mov byte [esp + 0x13a], 0x62
mov byte [esp + 0x13b], 0x18
mov byte [esp + 0x13c], 0x43
mov byte [esp + 0x13d], 0x18
mov byte [esp + 0x13e], 0x2c
mov byte [esp + 0x13f], 0x18
mov byte [esp + 0x140], 0x40
mov byte [esp + 0x141], 0x18
mov byte [esp + 0x142], 0x1e
mov byte [esp + 0x143], 0x18
mov byte [esp + 0x144], 0x4e
mov byte [esp + 0x145], 0x18
mov byte [esp + 0x146], 0xc
mov byte [esp + 0x147], 0x18
mov byte [esp + 0x148], 0x32
mov byte [esp + 0x149], 0x18
mov byte [esp + 0x14a], 0x43
mov byte [esp + 0x14b], 0x18
mov byte [esp + 0x14c], 0x2c
mov byte [esp + 0x14d], 0x18
mov byte [esp + 0x14e], 0x43
mov byte [esp + 0x14f], 0x18
mov byte [esp + 0x150], 0x18
mov byte [esp + 0x151], 0x18
mov al, byte [esp + 0x130]
mov byte [esp + 0x152], 0
cmp byte [esp + 0x152], 0
jne 0x407b4a
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x130]
mov ecx, 0x18
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2d
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x130], dl
inc esi
cmp esi, 0x22
jb 0x407b20
lea eax, [esp + 0x130]
mov dword [esp + 0x1b4], eax
mov byte [esp + 0xf4], 0x39
mov byte [esp + 0xf5], 0x68
mov byte [esp + 0xf6], 0x3a
mov byte [esp + 0xf7], 0x68
mov byte [esp + 0xf8], 0x29
mov byte [esp + 0xf9], 0x68
mov byte [esp + 0xfa], 0x26
mov byte [esp + 0xfb], 0x68
mov byte [esp + 0xfc], 0x2c
mov byte [esp + 0xfd], 0x68
mov byte [esp + 0xfe], 0xc
mov byte [esp + 0xff], 0x68
mov byte [esp + 0x100], 0x3a
mov byte [esp + 0x101], 0x68
mov byte [esp + 0x102], 0x23
mov byte [esp + 0x103], 0x68
mov byte [esp + 0x104], 0x33
mov byte [esp + 0x105], 0x68
mov byte [esp + 0x106], 3
mov byte [esp + 0x107], 0x68
mov byte [esp + 0x108], 0x60
mov byte [esp + 0x109], 0x68
mov byte [esp + 0x10a], 9
mov byte [esp + 0x10b], 0x68
mov byte [esp + 0x10c], 0x68
mov byte [esp + 0x10d], 0x68
mov al, byte [esp + 0xf4]
mov byte [esp + 0x10e], 0
cmp byte [esp + 0x10e], 0
jne 0x407c7a
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov al, byte [esp + esi + 0xf4]
mov ecx, 0x68
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2c
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0xf4], dl
inc esi
cmp esi, 0x1a
jb 0x407c50
lea eax, [esp + 0xf4]
mov dword [esp + 0x1b8], eax
mov byte [esp + 0xc], 6
mov byte [esp + 0xd], 0x77
mov byte [esp + 0xe], 0x1a
mov byte [esp + 0xf], 0x77
mov byte [esp + 0x10], 0x1a
mov byte [esp + 0x11], 0x77
mov byte [esp + 0x12], 0x3f
mov byte [esp + 0x13], 0x77
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x77
mov al, byte [esp + 0xc]
mov byte [esp + 0x16], 0
cmp byte [esp + 0x16], 0
jne 0x407cf6
xor esi, esi
nop dword [eax]
mov al, byte [esp + esi + 0xc]
movzx ecx, al
sub ecx, 0x77
lea eax, [ecx*8]
sub eax, ecx
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0xc], dl
inc esi
cmp esi, 0xa
jb 0x407cd0
lea eax, [esp + 0xc]
mov dword [esp + 0x1bc], eax
mov byte [esp + 0xa5], 0x3c
mov byte [esp + 0xa6], 0x4b
mov byte [esp + 0xa7], 2
mov byte [esp + 0xa8], 0x4b
mov byte [esp + 0xa9], 0x3b
mov byte [esp + 0xaa], 0x4b
mov byte [esp + 0xab], 0x48
mov byte [esp + 0xac], 0x4b
mov byte [esp + 0xad], 0x2d
mov byte [esp + 0xae], 0x4b
mov byte [esp + 0xaf], 0x3c
mov byte [esp + 0xb0], 0x4b
mov byte [esp + 0xb1], 0x74
mov byte [esp + 0xb2], 0x4b
mov byte [esp + 0xb3], 0x42
mov byte [esp + 0xb4], 0x4b
mov byte [esp + 0xb5], 0x2d
mov byte [esp + 0xb6], 0x4b
mov byte [esp + 0xb7], 0x57
mov byte [esp + 0xb8], 0x4b
mov byte [esp + 0xb9], 0x48
mov byte [esp + 0xba], 0x4b
mov byte [esp + 0xbb], 0x4b
mov byte [esp + 0xbc], 0x4b
mov al, byte [esp + 0xa5]
mov byte [esp + 0xbd], 0
cmp byte [esp + 0xbd], 0
jne 0x407e06
xor ecx, ecx
nop dword [eax]
mov al, byte [esp + ecx + 0xa5]
movzx eax, al
sub eax, 0x4b
lea eax, [eax + eax*8]
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ecx + 0xa5], dl
inc ecx
cmp ecx, 0x18
jb 0x407de0
lea eax, [esp + 0xa5]
mov dword [esp + 0x1c0], eax
mov byte [esp + 0x10f], 0x2f
mov byte [esp + 0x110], 0x3d
mov byte [esp + 0x111], 0x69
mov byte [esp + 0x112], 0x3d
mov byte [esp + 0x113], 0x2b
mov byte [esp + 0x114], 0x3d
mov byte [esp + 0x115], 0x3a
mov byte [esp + 0x116], 0x3d
mov byte [esp + 0x117], 0x12
mov byte [esp + 0x118], 0x3d
mov byte [esp + 0x119], 0x12
mov byte [esp + 0x11a], 0x3d
mov byte [esp + 0x11b], 0x50
mov byte [esp + 0x11c], 0x3d
mov byte [esp + 0x11d], 0x64
mov byte [esp + 0x11e], 0x3d
mov byte [esp + 0x11f], 0x62
mov byte [esp + 0x120], 0x3d
mov byte [esp + 0x121], 0x3a
mov byte [esp + 0x122], 0x3d
mov byte [esp + 0x123], 0x41
mov byte [esp + 0x124], 0x3d
mov byte [esp + 0x125], 0x45
mov byte [esp + 0x126], 0x3d
mov byte [esp + 0x127], 0x62
mov byte [esp + 0x128], 0x3d
mov byte [esp + 0x129], 0x69
mov byte [esp + 0x12a], 0x3d
mov byte [esp + 0x12b], 0x70
mov byte [esp + 0x12c], 0x3d
mov byte [esp + 0x12d], 0x3d
mov byte [esp + 0x12e], 0x3d
mov al, byte [esp + 0x10f]
mov byte [esp + 0x12f], 0
cmp byte [esp + 0x12f], 0
jne 0x407f5a
xor esi, esi
nop
mov al, byte [esp + esi + 0x10f]
mov ecx, 0x3d
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x10f], dl
inc esi
cmp esi, 0x20
jb 0x407f30
mov ebx, dword [esp + 0x1d4]
lea eax, [esp + 0x10f]
mov dword [esp + 0x1c4], eax
lea edi, [esp + 0x33]
mov dword [esp + 0x1c8], 0
xor esi, esi
mov edx, 2
push 0x83a6
push 0x7ab6576c
lea ecx, [edx - 1]
call fcn.00402800
add esp, 8
push edi
push ebx
call eax
test eax, eax
je 0x407fbc
mov edi, dword [esp + esi*4 + 0x18c]
inc esi
test edi, edi
jne 0x407f80
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x1c4
ret 4
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x1c4
ret 4