Function at 0x42ecc0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 ksa
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c487b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x4fe628]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c8], edx
call fcn.0044528c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ed1d
push 0x80004005
call fcn.00404f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 0
mov dl, 0xaf
mov al, 0xac
mov cl, 0x53
mov bl, 0x7d
mov byte [ebp - 0x1a0], 0xb
mov byte [ebp - 0x19f], cl
mov byte [ebp - 0x19e], 0x1a
mov byte [ebp - 0x19d], 0xba
mov byte [ebp - 0x19c], 0xc8
mov byte [ebp - 0x19b], 0xc4
mov byte [ebp - 0x19a], 0xb9
mov byte [ebp - 0x199], 0xe4
mov byte [ebp - 0x198], 0x6d
mov byte [ebp - 0x197], 0x50
mov byte [ebp - 0x196], 0x62
mov byte [ebp - 0x195], 0x24
mov byte [ebp - 0x194], dl
mov byte [ebp - 0x193], 0x97
mov byte [ebp - 0x192], 0x62
mov byte [ebp - 0x191], 0x12
mov byte [ebp - 0x190], bl
mov byte [ebp - 0x18f], 0xe8
mov byte [ebp - 0x18e], 0xa6
mov byte [ebp - 0x18d], 0x6c
mov byte [ebp - 0x18c], al
mov byte [ebp - 0x18b], 0xdc
mov byte [ebp - 0x18a], 0x82
mov byte [ebp - 0x189], 0xf
mov byte [ebp - 0x188], 0xed
mov byte [ebp - 0x187], 0xea
mov byte [ebp - 0x186], 0xeb
mov byte [ebp - 0x185], 0x6e
mov byte [ebp - 0x184], 0x18
mov byte [ebp - 0x183], 4
mov byte [ebp - 0x182], 0xd8
mov byte [ebp - 0x181], 0x24
mov byte [ebp - 0x180], 0xf9
mov byte [ebp - 0x17f], 0xef
mov byte [ebp - 0x17e], 0xf3
mov byte [ebp - 0x17d], 0x3d
mov byte [ebp - 0x17c], cl
mov byte [ebp - 0x17b], 0xb3
mov byte [ebp - 0x17a], 0x58
mov byte [ebp - 0x179], 0x13
mov byte [ebp - 0x178], 0x63
mov byte [ebp - 0x177], 0x1d
mov byte [ebp - 0x176], 0x39
mov byte [ebp - 0x175], 0x43
mov byte [ebp - 0x174], 0xc2
mov byte [ebp - 0x173], 0xc5
mov byte [ebp - 0x172], bl
mov byte [ebp - 0x171], 0x59
mov byte [ebp - 0x170], 0x3e
mov byte [ebp - 0x16f], dl
mov byte [ebp - 0x16e], al
mov byte [ebp - 0x16d], 8
mov byte [ebp - 0x16c], 0x2d
mov byte [ebp - 0x16b], 0x6f
mov byte [ebp - 0x16a], 0x37
mov byte [ebp - 0x169], 0x37
mov byte [ebp - 0x168], 0x9a
mov byte [ebp - 0x167], al
mov byte [ebp - 0x166], 0xb0
mov byte [ebp - 0x165], dl
mov byte [ebp - 0x164], 3
mov byte [ebp - 0x163], 0x69
mov byte [ebp - 0x162], 0xd1
mov byte [ebp - 0x161], 0x54
mov byte [ebp - 0x160], 0x9c
mov byte [ebp - 0x15f], 0x20
mov byte [ebp - 0x15e], 0xd9
mov byte [ebp - 0x15d], 0x72
mov byte [ebp - 0x15c], 0xf3
mov al, 0xb2
mov byte [ebp - 0x155], al
mov byte [ebp - 0x144], al
mov al, 0x30
mov byte [ebp - 0x13b], al
mov byte [ebp - 0x138], al
mov al, 0x66
mov byte [ebp - 0x15b], 0xeb
mov byte [ebp - 0x15a], 0xdc
mov byte [ebp - 0x159], 0x22
mov byte [ebp - 0x158], 0x4f
mov byte [ebp - 0x157], 0x55
mov byte [ebp - 0x156], 0xda
mov byte [ebp - 0x154], 0xcd
mov byte [ebp - 0x153], 0x2f
mov byte [ebp - 0x152], 0xc3
mov byte [ebp - 0x151], 0x3c
mov byte [ebp - 0x150], 0x92
mov byte [ebp - 0x14f], 0xae
mov byte [ebp - 0x14e], 0xc0
mov byte [ebp - 0x14d], 0xa8
mov byte [ebp - 0x14c], 0x7f
mov byte [ebp - 0x14b], 0xbf
mov byte [ebp - 0x14a], 0x47
mov byte [ebp - 0x149], 0xd1
mov byte [ebp - 0x148], 0xab
mov byte [ebp - 0x147], 0xf9
mov byte [ebp - 0x146], 0x3f
mov byte [ebp - 0x145], 0xd4
mov byte [ebp - 0x143], 0
mov byte [ebp - 0x142], 0xb
mov byte [ebp - 0x141], 0x5a
mov byte [ebp - 0x140], 0x5d
mov byte [ebp - 0x13f], 0xc8
mov byte [ebp - 0x13e], 0x31
mov byte [ebp - 0x13d], 0xaa
mov byte [ebp - 0x13c], 0x9d
mov byte [ebp - 0x13a], 0x7c
mov byte [ebp - 0x139], 0x42
mov byte [ebp - 0x137], 0x4a
mov byte [ebp - 0x136], 0x10
mov byte [ebp - 0x135], al
mov byte [ebp - 0x134], 0x64
mov byte [ebp - 0x133], 0xc4
mov byte [ebp - 0x132], 0xa2
mov byte [ebp - 0x131], 0xf4
mov byte [ebp - 0x130], 0x3b
mov byte [ebp - 0x12f], 0x88
mov byte [ebp - 0x12e], 0x87
mov byte [ebp - 0x12d], 0xc1
mov byte [ebp - 0x12c], 0x5e
mov byte [ebp - 0x12b], 9
mov byte [ebp - 0x12a], 0x7c
mov byte [ebp - 0x129], 0xff
mov byte [ebp - 0x128], 0xc6
mov byte [ebp - 0x127], 0x9c
mov byte [ebp - 0x126], 0x5c
mov byte [ebp - 0x125], 0x42
mov byte [ebp - 0x124], 0xe5
mov byte [ebp - 0x123], 0x88
mov byte [ebp - 0x122], 0x22
mov byte [ebp - 0x121], 0x68
mov byte [ebp - 0x120], 0x7e
mov byte [ebp - 0x11f], 0x89
mov byte [ebp - 0x11e], 0xdc
mov byte [ebp - 0x11d], 0x78
mov byte [ebp - 0x11c], 0x7f
mov byte [ebp - 0x11b], 0x4b
mov byte [ebp - 0x11a], 0xb6
mov byte [ebp - 0x119], 0x4f
mov byte [ebp - 0x118], bl
mov byte [ebp - 0x117], 0xd
mov byte [ebp - 0x116], 8
mov byte [ebp - 0x115], 0x16
mov byte [ebp - 0x114], 0x7c
mov byte [ebp - 0x113], 0xcf
mov byte [ebp - 0x112], 0x62
mov byte [ebp - 0x111], 0x21
mov byte [ebp - 0x110], 0x79
mov byte [ebp - 0x10f], pe_nt_image_headers32
mov byte [ebp - 0x10e], 0x74
mov bl, 0xca
mov byte [ebp - 0x105], bl
mov byte [ebp - 0x102], bl
mov bl, 0x44
mov byte [ebp - 0x10d], 0xa4
mov byte [ebp - 0x10c], 0x78
mov byte [ebp - 0x10b], 0x42
mov byte [ebp - 0x10a], 0x1e
mov byte [ebp - 0x109], 0x93
mov byte [ebp - 0x108], 0x7a
mov byte [ebp - 0x107], 4
mov byte [ebp - 0x106], 0xa0
mov byte [ebp - 0x104], 0x7b
mov byte [ebp - 0x103], 0xc6
mov byte [ebp - 0x101], 0xfd
mov byte [ebp - 0x100], 0x6c
mov byte [ebp - 0xff], 0xbc
mov byte [ebp - 0xfe], 0x2e
mov byte [ebp - 0xfd], 0xb0
mov byte [ebp - 0xfc], 0x6d
mov byte [ebp - 0xfb], 0x7e
mov byte [ebp - 0xfa], bl
mov byte [ebp - 0xf9], 0x87
mov byte [ebp - 0xf8], 0x6f
mov byte [ebp - 0xf7], 0x38
mov byte [ebp - 0xf6], 0xfa
mov byte [ebp - 0xf5], 0xde
mov byte [ebp - 0xf4], 0x6e
mov byte [ebp - 0xf3], 0xfa
mov byte [ebp - 0xf2], 0x90
mov byte [ebp - 0xf1], 0xe9
mov byte [ebp - 0xf0], 0x6b
mov byte [ebp - 0xef], 0xb5
mov byte [ebp - 0xee], 0x86
mov byte [ebp - 0xed], 0x6c
mov byte [ebp - 0xec], 0x6a
mov byte [ebp - 0xeb], 0x77
mov byte [ebp - 0xea], 0xec
mov byte [ebp - 0xe9], 0x5b
mov byte [ebp - 0xe8], 0x68
mov byte [ebp - 0xe7], 0x31
mov byte [ebp - 0xe6], 0x52
mov byte [ebp - 0xe5], 2
mov byte [ebp - 0xe4], 0x69
mov byte [ebp - 0xe3], 0xf3
mov byte [ebp - 0xe2], 0x38
mov byte [ebp - 0xe1], 0x35
mov byte [ebp - 0xe0], 0x62
mov byte [ebp - 0xdf], dl
mov byte [ebp - 0xde], 0x7f
mov byte [ebp - 0xdd], 8
mov byte [ebp - 0xdc], 0x63
mov byte [ebp - 0xdb], 0x6d
mov byte [ebp - 0xda], 0x15
mov byte [ebp - 0xd9], 0x3f
mov byte [ebp - 0xd8], 0x61
mov byte [ebp - 0xd7], 0x2b
mov byte [ebp - 0xd6], 0xab
mov byte [ebp - 0xd5], al
mov byte [ebp - 0xd4], 0x60
mov byte [ebp - 0xd3], 0xe9
mov byte [ebp - 0xd2], 0xc1
mov byte [ebp - 0xd1], 0x51
mov byte [ebp - 0xd0], 0x65
mov byte [ebp - 0xcf], 0xa6
mov byte [ebp - 0xce], 0xd7
mov byte [ebp - 0xcd], 0xd4
mov byte [ebp - 0xcc], 0x64
mov byte [ebp - 0xcb], 0x64
mov byte [ebp - 0xca], 0xbd
mov byte [ebp - 0xc9], 0xe3
mov byte [ebp - 0xc8], al
mov byte [ebp - 0xc7], 0x22
mov byte [ebp - 0xc6], 3
mov byte [ebp - 0xc5], 0xba
mov byte [ebp - 0xc4], 0x67
mov byte [ebp - 0xc3], 0xe0
mov byte [ebp - 0xc2], 0x69
mov byte [ebp - 0xc1], 0x8d
mov byte [ebp - 0xc0], 0x48
mov byte [ebp - 0xbf], 0xd7
mov byte [ebp - 0x99], dl
mov dl, 0x8c
mov byte [ebp - 0xbe], 0xcb
mov byte [ebp - 0xbd], 0x20
mov byte [ebp - 0xbc], 0x49
mov byte [ebp - 0xbb], 0x15
mov byte [ebp - 0xba], 0xa1
mov byte [ebp - 0xb9], 0x17
mov byte [ebp - 0xb8], 0x4b
mov byte [ebp - 0xb7], cl
mov byte [ebp - 0xb6], 0x1f
mov byte [ebp - 0xb5], 0x4e
mov byte [ebp - 0xb4], 0x4a
mov byte [ebp - 0xb3], 0x91
mov byte [ebp - 0xb2], 0x75
mov byte [ebp - 0xb1], 0x79
mov byte [ebp - 0xb0], 0x4f
mov byte [ebp - 0xaf], 0xde
mov byte [ebp - 0xae], 0x63
mov byte [ebp - 0xad], 0xfc
mov byte [ebp - 0xac], 0x4e
mov byte [ebp - 0xab], 0x1c
mov byte [ebp - 0xaa], 9
mov byte [ebp - 0xa9], 0xcb
mov byte [ebp - 0xa8], 0x4c
mov byte [ebp - 0xa7], 0x5a
mov byte [ebp - 0xa6], 0xb7
mov byte [ebp - 0xa5], 0x92
mov byte [ebp - 0xa4], 0x4d
mov byte [ebp - 0xa3], 0x98
mov byte [ebp - 0xa2], 0xdd
mov byte [ebp - 0xa1], 0xa5
mov byte [ebp - 0xa0], 0x46
mov byte [ebp - 0x9f], 0xc4
mov byte [ebp - 0x9e], 0x9a
mov byte [ebp - 0x9d], 0x98
mov byte [ebp - 0x9c], 0x47
mov byte [ebp - 0x9b], 6
mov byte [ebp - 0x9a], 0xf0
mov byte [ebp - 0x98], 0x45
mov byte [ebp - 0x97], 0x40
mov byte [ebp - 0x96], 0x4e
mov byte [ebp - 0x95], 0xf6
mov byte [ebp - 0x94], bl
mov byte [ebp - 0x93], 0x82
mov byte [ebp - 0x92], 0x24
mov byte [ebp - 0x91], 0xc1
mov byte [ebp - 0x90], 0x41
mov byte [ebp - 0x8f], 0xcd
mov byte [ebp - 0x8e], 0x32
mov byte [ebp - 0x8d], bl
mov byte [ebp - 0x8c], 0x40
mov byte [ebp - 0x8b], 0xf
mov byte [ebp - 0x8a], 0x58
mov byte [ebp - 0x89], 0x73
mov byte [ebp - 0x88], 0x42
mov byte [ebp - 0x87], 0x49
mov byte [ebp - 0x86], 0xe6
mov byte [ebp - 0x85], 0x2a
mov byte [ebp - 0x84], 0x43
mov byte [ebp - 0x83], 0x8b
mov byte [ebp - 0x82], dl
mov byte [ebp - 0x81], 0x1d
mov byte [ebp - 0x80], 0x54
mov byte [ebp - 0x7f], 0xf1
mov byte [ebp - 0x7e], 0x68
mov byte [ebp - 0x7d], 0x50
mov byte [ebp - 0x7c], 0x55
mov byte [ebp - 0x7b], 0x33
mov byte [ebp - 0x7a], 2
mov byte [ebp - 0x79], 0x67
mov byte [ebp - 0x78], 0x57
mov byte [ebp - 0x77], 0x75
mov byte [ebp - 0x76], 0xbc
mov byte [ebp - 0x75], 0x3e
mov byte [ebp - 0x74], 0x56
mov byte [ebp - 0x73], 0xb7
mov byte [ebp - 0x72], 0xd6
mov byte [ebp - 0x71], 9
mov byte [ebp - 0x70], cl
mov byte [ebp - 0x6f], 0xf8
mov byte [ebp - 0x5a], cl
mov cl, 0xb1
mov byte [ebp - 0x6d], dl
mov dl, 0xe2
mov byte [ebp - 0x51], cl
mov byte [ebp - 0x37], cl
mov byte [ebp - 0x6e], 0xc0
mov byte [ebp - 0x6c], 0x52
mov byte [ebp - 0x6b], 0x3a
mov byte [ebp - 0x6a], 0xaa
mov byte [ebp - 0x69], 0xbb
mov byte [ebp - 0x68], 0x50
mov byte [ebp - 0x67], 0x7c
mov byte [ebp - 0x66], 0x14
mov byte [ebp - 0x65], dl
mov byte [ebp - 0x64], 0x51
mov byte [ebp - 0x63], 0xbe
mov byte [ebp - 0x62], 0x7e
mov byte [ebp - 0x61], 0xd5
mov byte [ebp - 0x60], 0x5a
mov byte [ebp - 0x5f], dl
mov byte [ebp - 0x5e], 0x39
mov byte [ebp - 0x5d], 0xe8
mov byte [ebp - 0x5c], 0x5b
mov byte [ebp - 0x5b], 0x20
mov byte [ebp - 0x59], 0xdf
mov byte [ebp - 0x58], 0x59
mov byte [ebp - 0x57], al
mov byte [ebp - 0x56], 0xed
mov byte [ebp - 0x55], 0x86
mov byte [ebp - 0x54], 0x58
mov byte [ebp - 0x53], 0xa4
mov byte [ebp - 0x52], 0x87
mov byte [ebp - 0x50], 0x5d
mov byte [ebp - 0x4f], 0xeb
mov byte [ebp - 0x4e], 0x91
mov byte [ebp - 0x4d], 0x34
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0x29
mov byte [ebp - 0x4a], 0xfb
mov byte [ebp - 0x49], 3
mov byte [ebp - 0x48], 0x5e
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x46], 0x45
mov byte [ebp - 0x45], 0x5a
mov byte [ebp - 0x44], 0x5f
mov byte [ebp - 0x43], 0xad
mov byte [ebp - 0x42], 0x2f
mov byte [ebp - 0x41], 0x6d
mov byte [ebp - 0x40], 0xe1
mov byte [ebp - 0x3f], 0x35
mov byte [ebp - 0x3e], 0x1b
mov byte [ebp - 0x3d], pe_nt_image_headers32
mov byte [ebp - 0x3c], 0xe0
mov byte [ebp - 0x3b], 0xf7
mov byte [ebp - 0x3a], 0x71
mov byte [ebp - 0x39], 0xb7
mov byte [ebp - 0x38], dl
mov byte [ebp - 0x36], 0xcf
mov byte [ebp - 0x35], 0xee
mov byte [ebp - 0x34], 0xe3
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0xa5
mov byte [ebp - 0x31], 0xd9
mov byte [ebp - 0x30], 0xe6
mov byte [ebp - 0x2f], 0x3c
mov byte [ebp - 0x2e], 0xb3
mov byte [ebp - 0x2d], 0x5c
mov byte [ebp - 0x2c], 0xe7
mov byte [ebp - 0x2b], 0xfe
mov byte [ebp - 0x2a], 0xd9
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0xe5
mov byte [ebp - 0x27], 0xb8
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0xe4
mov byte [ebp - 0x23], 0x7a
mov byte [ebp - 0x22], 0xd
mov byte [ebp - 0x21], 5
mov ecx, 0x20
lea esi, [ebp - 0x1a0]
lea edi, [ebp - 0x2b0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x40
lea esi, [ebp - 0x120]
lea edi, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x1c], al
lea ecx, [ebp - 0x220]
mov eax, 1
sub eax, ecx
lea edx, [ebp - 0x220]
mov ecx, 2
mov esi, 3
xor edi, edi
sub ecx, edx
mov byte [ebp - 0x20], 0x64
mov byte [ebp - 0x1f], 0x52
mov byte [ebp - 0x1e], 0xcd
mov byte [ebp - 0x1d], 0x84
mov byte [ebp - 0x1b], 0x49
mov byte [ebp - 0x1a], 0x68
mov byte [ebp - 0x19], 0xdc
mov byte [ebp - 0x18], 0x3b
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x15], 0x1f
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcb
mov byte [ebp - 0x11], 0x79
sub esi, edx
lea edx, [ebp + edi - 0x220]
mov ebx, edi
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x20]
xor byte [edx], bl
lea ebx, [edx + eax]
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x20]
xor byte [edx + 1], bl
lea ebx, [edx + ecx]
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x20]
xor byte [edx + 2], bl
lea ebx, [edx + esi]
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x20]
xor byte [edx + 3], bl
add edi, 4
cmp edi, 0x100
jl 0x42f711
lea eax, [ebp - 0x2b0]
mov edx, eax
mov edi, 2
sub edi, edx
mov esi, 1
mov edx, 3
xor ecx, ecx
sub esi, eax
sub edx, eax
jmp 0x42f780
lea eax, [ebp + ecx - 0x2b0]
mov ebx, ecx
and ebx, 0xff
movzx ebx, byte [ebp + ebx - 0x220]
xor byte [eax], bl
lea ebx, [eax + esi]
and ebx, 0xff
movzx ebx, byte [ebp + ebx - 0x220]
xor byte [eax + 1], bl
lea ebx, [eax + edi]
and ebx, 0xff
movzx ebx, byte [ebp + ebx - 0x220]
xor byte [eax + 2], bl
lea ebx, [eax + edx]
and ebx, 0xff
movzx ebx, byte [ebp + ebx - 0x220]
xor byte [eax + 3], bl
add ecx, 4
cmp ecx, 0x80
jl 0x42f780
mov ecx, 0x7f
lea eax, [ebp - 0x2b0]
xor esi, esi
cmp ecx, esi
je 0x42f80b
mov bl, byte [eax]
mov dl, byte [ebp + ecx - 0x2b0]
mov byte [ebp + ecx - 0x2b0], bl
mov byte [eax], dl
inc esi
dec ecx
inc eax
cmp esi, 0x40
jl 0x42f7ed
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x2b0]
push pe_nt_image_headers32
push edx
call fcn.004736d0
add esp, 0xc
mov ecx, 0x10
xor eax, eax
lea ecx, [ecx]
mov edx, dword [ebp + eax - 0x230]
cmp edx, dword [ebp + eax - 0x20]
jne 0x42fa4b
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x42f830
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
xor esi, esi
jmp 0x42f870
movzx eax, byte [ebp + esi - 0x2b0]
push eax
push str._02X
lea edi, [ebp - 0x2b4]
call fcn.0042c840
mov byte [ebp + esi - 0x2b0], 0
inc esi
add esp, 8
cmp esi, 0x80
jl 0x42f870
call fcn.00472f10
mov ebx, eax
call fcn.00472f10
push 0x10001
push ebx
mov dword [ebp - 0x2c0], eax
call fcn.00473180
mov esi, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2c0]
push esi
push ecx
call fcn.00473910
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x42f929
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x42f901
cmp dword [esi - 8], 0
jge 0x42f8f5
push 0x80070057
call fcn.00404f90
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x42f929
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [ebp - 0x2b4], eax
call fcn.00474200
mov ecx, dword [ebp - 0x2c0]
mov esi, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2bc], esi
mov edi, ecx
test eax, eax
jne 0x42f949
test ecx, ecx
je 0x42f976
cmp dword [esi + 0x14], 0
jne 0x42f953
test ebx, ebx
je 0x42f976
test ecx, ecx
je 0x42f963
push eax
call fcn.00472eb0
add esp, 4
mov dword [esi + 0x10], edi
test ebx, ebx
je 0x42f976
mov ecx, dword [esi + 0x14]
push ecx
call fcn.00472eb0
add esp, 4
mov dword [esi + 0x14], ebx
push esi
call fcn.00473f20
mov ebx, eax
mov eax, dword [ebp + 0xc]
cdq
lea esi, [ebx - 0xb]
idiv esi
mov edi, dword [ebp - 0x2c8]
add esp, 4
mov dword [edi], 0
test eax, eax
jle 0x42f9a9
imul eax, ebx
mov dword [edi], eax
test edx, edx
je 0x42f9ab
add eax, ebx
mov dword [edi], eax
jmp 0x42f9ab
mov dword [edi], ebx
mov edx, dword [edi]
push edx
call fcn.0043538c
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx], eax
mov edx, dword [edi]
push edx
push 0
push eax
call fcn.00457a60
mov eax, dword [ebp + 0xc]
add esp, 0x10
xor edi, edi
test eax, eax
je 0x42fa37
mov dword [ebp - 0x2b8], edi
jmp 0x42f9e3
mov eax, dword [ebp + 0xc]
lea ecx, [edi + esi]
cmp ecx, eax
jle 0x42f9ee
mov esi, eax
sub esi, edi
mov eax, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2bc]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x2b8]
push 1
push edx
mov edx, dword [ebp - 0x2cc]
push ecx
add edx, edi
push edx
push esi
call fcn.00473f40
add esp, 0x14
cmp eax, ebx
jne 0x42fa2b
add dword [ebp - 0x2b8], ebx
add edi, esi
cmp edi, dword [ebp + 0xc]
jne 0x42f9e0
jmp 0x42fa37
mov eax, dword [ebp - 0x2c8]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.00473e00
add esp, 4
call fcn.00474560
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2b4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fa74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452ac1
mov esp, ebp
pop ebp
ret