Function at 0x435440
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 0x4ca5eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x504628]
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.0044c7ef
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x43549f
push 0x80004005
call fcn.00406bd0
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], esi
mov bl, 0x37
mov al, 0xaf
mov dl, 0xac
mov cl, 0x53
mov byte [ebp - 0x16a], bl
mov byte [ebp - 0x169], bl
mov bl, 0xd1
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], al
mov byte [ebp - 0x193], 0x97
mov byte [ebp - 0x192], 0x62
mov byte [ebp - 0x191], 0x12
mov byte [ebp - 0x190], 0x7d
mov byte [ebp - 0x18f], 0xe8
mov byte [ebp - 0x18e], 0xa6
mov byte [ebp - 0x18d], 0x6c
mov byte [ebp - 0x18c], dl
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], 0x7d
mov byte [ebp - 0x171], 0x59
mov byte [ebp - 0x170], 0x3e
mov byte [ebp - 0x16f], al
mov byte [ebp - 0x16e], dl
mov byte [ebp - 0x16d], 8
mov byte [ebp - 0x16c], 0x2d
mov byte [ebp - 0x16b], 0x6f
mov byte [ebp - 0x168], 0x9a
mov byte [ebp - 0x167], dl
mov byte [ebp - 0x166], 0xb0
mov byte [ebp - 0x165], al
mov byte [ebp - 0x164], 3
mov byte [ebp - 0x163], 0x69
mov byte [ebp - 0x162], bl
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 dl, 0xb2
mov byte [ebp - 0x149], bl
mov bl, 0x30
mov byte [ebp - 0x155], dl
mov byte [ebp - 0x144], dl
mov byte [ebp - 0x13b], bl
mov dl, 0x42
mov byte [ebp - 0x138], bl
mov bl, 0x66
mov byte [ebp - 0x15c], 0xf3
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 - 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], dl
mov byte [ebp - 0x137], 0x4a
mov byte [ebp - 0x136], 0x10
mov byte [ebp - 0x135], bl
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], dl
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], 0x7d
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], 0x80
mov byte [ebp - 0x10e], 0x74
mov byte [ebp - 0x10d], 0xa4
mov byte [ebp - 0x10c], 0x78
mov byte [ebp - 0x10b], dl
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 - 0x105], 0xca
mov byte [ebp - 0x104], 0x7b
mov byte [ebp - 0x103], 0xc6
mov byte [ebp - 0x102], 0xca
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], 0x44
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], al
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], bl
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], bl
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], al
mov byte [ebp - 0x88], dl
mov al, 0xe6
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], 0x44
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], 0x44
mov byte [ebp - 0x8c], 0x40
mov byte [ebp - 0x8b], 0xf
mov byte [ebp - 0x8a], 0x58
mov byte [ebp - 0x89], 0x73
mov byte [ebp - 0x87], 0x49
mov byte [ebp - 0x86], al
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 - 0x6d], dl
mov dl, 0xe2
mov byte [ebp - 0x5a], cl
mov cl, 0xb1
mov byte [ebp - 0x6f], 0xf8
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], bl
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 - 0x51], cl
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], 0x80
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 - 0x37], cl
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], al
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
lea ecx, [ebp - 0x2b0]
push ecx
mov ecx, 0x80
lea edx, [ebp - 0x1a0]
call fcn.00433500
lea edx, [ebp - 0x220]
push edx
mov ecx, 0x100
lea edx, [ebp - 0x120]
call fcn.00433500
lea ecx, [ebp - 0x220]
mov eax, 1
sub eax, ecx
lea edx, [ebp - 0x220]
mov ecx, 2
mov edi, 3
add esp, 8
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 - 0x1c], bl
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], 0x44
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcb
mov byte [ebp - 0x11], 0x79
sub edi, edx
lea esp, [esp]
lea edx, [ebp + esi - 0x220]
mov ebx, esi
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 + edi]
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x20]
xor byte [edx + 3], bl
add esi, 4
cmp esi, 0x100
jl 0x435ea0
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 0x435f10
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 0x435f10
mov ecx, 0x7f
lea eax, [ebp - 0x2b0]
xor esi, esi
cmp ecx, esi
je 0x435f9b
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 0x435f7d
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x2b0]
push 0x80
push edx
call fcn.004797f0
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 0x4361db
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x435fc0
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 0x436000
movzx eax, byte [ebp + esi - 0x2b0]
push eax
push str._02X
lea edi, [ebp - 0x2b4]
call fcn.004318a0
mov byte [ebp + esi - 0x2b0], 0
inc esi
add esp, 8
cmp esi, 0x80
jl 0x436000
call fcn.00479030
mov ebx, eax
call fcn.00479030
push 0x10001
push ebx
mov dword [ebp - 0x2c0], eax
call fcn.004792a0
mov esi, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2c0]
push esi
push ecx
call fcn.00479a30
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x4360b9
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x436091
cmp dword [esi - 8], 0
jge 0x436085
push 0x80070057
call fcn.00406bd0
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x4360b9
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360a7
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.0047a320
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 0x4360d9
test ecx, ecx
je 0x436106
cmp dword [esi + 0x14], 0
jne 0x4360e3
test ebx, ebx
je 0x436106
test ecx, ecx
je 0x4360f3
push eax
call fcn.00478fd0
add esp, 4
mov dword [esi + 0x10], edi
test ebx, ebx
je 0x436106
mov ecx, dword [esi + 0x14]
push ecx
call fcn.00478fd0
add esp, 4
mov dword [esi + 0x14], ebx
push esi
call fcn.0047a040
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 0x436139
imul eax, ebx
mov dword [edi], eax
test edx, edx
je 0x43613b
add eax, ebx
mov dword [edi], eax
jmp 0x43613b
mov dword [edi], ebx
mov edx, dword [edi]
push edx
call fcn.0043ca0c
mov ecx, dword [ebp - 0x2c4]
mov dword [ecx], eax
mov edx, dword [edi]
push edx
push 0
push eax
call fcn.0045f850
mov eax, dword [ebp + 0xc]
add esp, 0x10
xor edi, edi
test eax, eax
je 0x4361c7
mov dword [ebp - 0x2b8], edi
jmp 0x436173
mov eax, dword [ebp + 0xc]
lea ecx, [edi + esi]
cmp ecx, eax
jle 0x43617e
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.0047a060
add esp, 0x14
cmp eax, ebx
jne 0x4361bb
add dword [ebp - 0x2b8], ebx
add edi, esi
cmp edi, dword [ebp + 0xc]
jne 0x436170
jmp 0x4361c7
mov eax, dword [ebp - 0x2c8]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.00479f20
add esp, 4
call fcn.0047a670
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 0x436204
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.0045a0a2
mov esp, ebp
pop ebp
ret