Function at 0x413030
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, 0x14
and esp, 0xffffff80
sub esp, 0x970
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x4c], eax
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.0041a640
cmp eax, 1
sbb eax, eax
xor edx, edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x430]
and dword [esp + 0x4c], 0xfffffffd
add dword [esp + 0x4c], 4
mov edi, eax
add edx, 1
mov esi, dword [ebp + 0xc]
add eax, 0x50
mov ecx, ebx
cmp dword [esp + 0x4c], edx
rep movsd dword es:[edi], dword [esi]
jg 0x413080
lea ebx, [esp + 0x50]
mov dword [esp], ebx
lea esi, [esp + 0x770]
call fcn.0040b4b0
lea eax, [esp + 0x430]
mov dword [esp + 4], eax
lea edi, [esp + 0x230]
mov dword [esp], ebx
lea ebx, [esp + 0x570]
mov dword [esp + 8], 0
call fcn.0040b500
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], esi
lea esi, [esp + 0x330]
mov dword [esp + 0x44], esi
lea esi, [esp + 0x1b0]
mov dword [esp + 0x30], esi
add eax, 0x3f
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x18], 0xffffffc0
mov dword [esp + 0x40], edi
shl eax, 7
mov dword [esp + 0x14], eax
xor eax, eax
cmp dword [esp + 0x4c], eax
jg 0x4139ec
cmp dword [esp + 0x4c], 4
je 0x413a0e
mov eax, dword [esp + 0x50]
lea esi, [esp + 0x70]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x470]
mov dword [edi], eax
mov eax, dword [esp + 0x474]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x478]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x47c]
mov dword [edi + 0xc], eax
mov eax, dword [0x430100]
mov dword [esp + 0x780], eax
mov eax, dword [0x430104]
mov dword [esp + 0x784], eax
mov eax, dword [0x430108]
mov dword [esp + 0x788], eax
mov eax, dword [0x43010c]
mov dword [esp + 0x78c], eax
mov eax, dword [0x430110]
mov dword [esp + 0x790], eax
mov eax, dword [0x430114]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 0x794], eax
mov eax, dword [0x430118]
mov dword [esp + 0x798], eax
mov eax, dword [0x43011c]
mov dword [esp + 0x79c], eax
mov eax, dword [0x430120]
mov dword [esp + 0x7a0], eax
mov eax, dword [0x430124]
mov dword [esp + 0x7a4], eax
mov eax, dword [0x430128]
mov dword [esp + 0x7a8], eax
mov eax, dword [0x43012c]
mov dword [esp + 0x7ac], eax
call fcn.0040b500
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
call fcn.0040b4b0
mov eax, dword [esp + 0x20]
mov edx, edi
xor edx, 0x5c5c5c5c
mov ecx, dword [esp + 0x28]
xor edi, 0x36363636
mov dword [esp + 0x770], edx
mov edx, esi
xor esi, 0x36363636
xor edx, 0x5c5c5c5c
xor eax, 0x5c5c5c5c
mov dword [esp + 0x778], eax
mov eax, dword [esp + 0x24]
xor ecx, 0x5c5c5c5c
mov dword [esp + 0x774], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x77c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], 0
xor eax, 0x5c5c5c5c
mov dword [esp + 0x780], eax
mov eax, dword [esp + 0x38]
xor edx, 0x5c5c5c5c
mov dword [esp + 0x784], edx
lea edx, [esp + 0xf0]
xor ecx, 0x5c5c5c5c
mov dword [esp], edx
mov dword [esp + 0x788], ecx
xor eax, 0x5c5c5c5c
mov dword [esp + 0x78c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x790], 0x5c5c5c5c
mov dword [esp + 0x794], 0x5c5c5c5c
mov dword [esp + 0x798], 0x5c5c5c5c
mov dword [esp + 4], eax
mov dword [esp + 0x79c], 0x5c5c5c5c
mov dword [esp + 0x7a0], 0x5c5c5c5c
mov dword [esp + 0x7a4], 0x5c5c5c5c
mov dword [esp + 0x7a8], 0x5c5c5c5c
mov dword [esp + 0x7ac], 0x5c5c5c5c
call fcn.0040b500
lea edx, [esp + 0x70]
mov dword [esp], edx
call fcn.0040b4b0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x774], esi
mov esi, dword [esp + 0x48]
xor eax, 0x36363636
mov dword [esp + 0x780], eax
mov eax, dword [esp + 0x38]
xor edx, 0x36363636
xor ecx, 0x36363636
mov dword [esp + 0x778], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x77c], ecx
mov ecx, dword [esp + 0x1c]
xor eax, 0x36363636
mov dword [esp + 0x78c], eax
lea eax, [esp + 0x70]
xor edx, 0x36363636
xor ecx, 0x36363636
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 0x770], edi
mov dword [esp + 0x784], edx
mov dword [esp + 0x788], ecx
mov dword [esp + 0x790], 0x36363636
mov dword [esp + 0x794], 0x36363636
mov dword [esp + 0x798], 0x36363636
mov dword [esp + 0x79c], 0x36363636
mov dword [esp + 0x7a0], 0x36363636
mov dword [esp + 0x7a4], 0x36363636
mov dword [esp + 0x7a8], 0x36363636
mov dword [esp + 0x7ac], 0x36363636
call fcn.0040b500
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1cc], eax
lea eax, [esp + 0x430]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0040b500
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x470]
mov dword [edi], eax
mov eax, dword [esp + 0x474]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x478]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x47c]
mov dword [edi + 0xc], eax
mov eax, dword [0x4300c0]
xor edi, edi
mov dword [esp + 0x344], eax
mov eax, dword [0x4300c4]
mov dword [esp + 0x348], eax
mov eax, dword [0x4300c8]
mov dword [esp + 0x34c], eax
mov eax, dword [0x4300cc]
mov dword [esp + 0x350], eax
mov eax, dword [0x4300d0]
mov dword [esp + 0x354], eax
mov eax, dword [0x4300d4]
mov dword [esp + 0x358], eax
mov eax, dword [0x4300d8]
mov dword [esp + 0x35c], eax
mov eax, dword [0x4300dc]
mov dword [esp + 0x360], eax
mov eax, dword [0x4300e0]
mov dword [esp + 0x364], eax
mov eax, dword [0x4300e4]
mov dword [esp + 0x368], eax
mov eax, dword [0x4300e8]
mov dword [esp + 0x36c], eax
mov eax, dword [0x4300a0]
mov dword [esp + 0x590], eax
mov eax, dword [0x4300a4]
mov dword [esp + 0x594], eax
mov eax, dword [0x4300a8]
mov dword [esp + 0x598], eax
mov eax, dword [0x4300ac]
mov dword [esp + 0x59c], eax
mov eax, dword [0x4300b0]
mov dword [esp + 0x5a0], eax
mov eax, dword [0x4300b4]
mov dword [esp + 0x5a4], eax
mov eax, dword [0x4300b8]
mov dword [esp + 0x5a8], eax
mov eax, dword [0x4300bc]
mov dword [esp + 0x5ac], eax
mov eax, esi
mov esi, edi
mov edi, eax
mov ecx, dword [esp + 0x1b0]
add esi, 1
add edi, 0x20
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 0x570], ecx
mov ecx, dword [esp + 0x1b4]
mov dword [esp + 4], eax
mov dword [esp + 0x340], esi
mov dword [esp + 0x574], ecx
mov ecx, dword [esp + 0x1b8]
mov dword [esp + 0x578], ecx
mov ecx, dword [esp + 0x1bc]
mov dword [esp + 0x57c], ecx
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 0x580], ecx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 0x584], ecx
mov ecx, dword [esp + 0x1c8]
mov dword [esp + 0x588], ecx
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x58c], ecx
call fcn.0040b500
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x230], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 0x234], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x238], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x23c], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x240], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x244], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x248], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x24c], ecx
call fcn.0040b500
mov ecx, dword [esp + 0x230]
bswap ecx
mov dword [edi - 0x20], ecx
mov ecx, dword [esp + 0x234]
bswap ecx
mov dword [edi - 0x1c], ecx
mov ecx, dword [esp + 0x238]
bswap ecx
mov dword [edi - 0x18], ecx
mov ecx, dword [esp + 0x23c]
bswap ecx
mov dword [edi - 0x14], ecx
mov ecx, dword [esp + 0x240]
bswap ecx
mov dword [edi - 0x10], ecx
mov ecx, dword [esp + 0x244]
bswap ecx
mov dword [edi - 0xc], ecx
mov ecx, dword [esp + 0x248]
bswap ecx
mov dword [edi - 8], ecx
mov ecx, dword [esp + 0x24c]
bswap ecx
mov dword [edi - 4], ecx
cmp esi, 4
jne 0x413621
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041ae20
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], esi
call fcn.0040b500
lea eax, [esp + 0x7b0]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.0040b500
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x430060
call fcn.0040b500
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 0x570], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x574], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x578], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x57c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x580], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x584], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x588], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58c], eax
mov eax, dword [0x4300a0]
mov dword [esp + 0x590], eax
mov eax, dword [0x4300a4]
mov dword [esp + 0x594], eax
mov eax, dword [0x4300a8]
mov dword [esp + 0x598], eax
mov eax, dword [0x4300ac]
mov dword [esp + 0x59c], eax
mov eax, dword [0x4300b0]
mov dword [esp + 0x5a0], eax
mov eax, dword [0x4300b4]
mov dword [esp + 0x5a4], eax
mov eax, dword [0x4300b8]
mov dword [esp + 0x5a8], eax
mov eax, dword [0x4300bc]
mov dword [esp + 0x5ac], eax
lea eax, [esp + 0xf0]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040b500
mov eax, dword [esp + 0xf0]
bswap eax
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0xf4]
bswap eax
mov dword [esp + 0x2b4], eax
mov eax, dword [esp + 0xf8]
bswap eax
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0xfc]
bswap eax
mov dword [esp + 0x2bc], eax
mov eax, dword [esp + 0x100]
bswap eax
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x104]
bswap eax
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x108]
bswap eax
mov dword [esp + 0x2c8], eax
mov eax, dword [esp + 0x10c]
bswap eax
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x2cc], eax
jae 0x4141f1
cmp dword [esp + 0x4c], 1
je 0x4139bf
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x2ec]
jae 0x414265
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x30c]
jae 0x414240
cmp dword [esp + 0x4c], 4
jne 0x4139bf
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x32c]
jae 0x414216
mov eax, dword [esp + 0x34]
cmp eax, dword [ebp + 0x18]
jae 0x4142b4
mov eax, dword [esp + 0x14]
add eax, dword [0x432020]
mov eax, dword [eax]
test eax, eax
jne 0x4142b4
xor eax, eax
cmp dword [esp + 0x4c], eax
jle 0x413114
add dword [esp + 0x34], 1
mov esi, dword [esp + 0x34]
lea edx, [eax + eax*4]
add eax, 1
lea edx, [edx*4 + 0x13]
mov dword [esp + edx*4 + 0x430], esi
jmp 0x41310a
mov edx, ebx
lea eax, [esp + 0x430]
lea esi, [esp + 0x480]
nop
mov ecx, dword [eax]
add eax, 4
add edx, 0x10
mov dword [edx - 0x10], ecx
mov ecx, dword [eax + 0x4c]
mov dword [edx - 0xc], ecx
mov ecx, dword [eax + 0x9c]
mov dword [edx - 8], ecx
mov ecx, dword [eax + 0xec]
mov dword [edx - 4], ecx
cmp eax, esi
jne 0x413a20
mov eax, dword [esp + 0x50]
mov esi, 0x42ffa0
mov ecx, 0x30
lea edi, [esp + 0x7b0]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x670]
mov dword [edx], eax
mov eax, dword [esp + 0x674]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x678]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x67c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x680]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x684]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x688]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x68c]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x690]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x694]
mov dword [edx + 0x24], eax
mov eax, dword [esp + 0x698]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x69c]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x6a0]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x6a4]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x6a8]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x6ac]
mov dword [edx + 0x3c], eax
lea eax, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], 0
call fcn.00414360
mov edi, dword [esp + 0x44]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xf0]
mov dword [esp], eax
call fcn.004142e0
mov ecx, dword [esp + 0x48]
xor eax, eax
mov esi, dword [esp + 0x44]
mov edx, dword [esi + eax*4]
xor edx, 0x5c5c5c5c
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, 0x20
jne 0x413c31
lea eax, [esp + 0x7f0]
lea esi, [esi]
mov dword [eax], 0x5c5c5c5c
lea edi, [esp + 0x870]
add eax, 4
cmp eax, edi
jne 0x413c50
mov esi, dword [esp + 0x48]
lea eax, [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
call fcn.00414360
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.004142e0
mov ecx, esi
mov esi, dword [esp + 0x44]
xor eax, eax
mov edx, dword [esi + eax*4]
xor edx, 0x36363636
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, 0x20
jne 0x413c97
lea eax, [esp + 0x7f0]
mov dword [eax], 0x36363636
lea edi, [esp + 0x870]
add eax, 4
cmp edi, eax
jne 0x413cb2
mov eax, dword [esp + 0x48]
lea esi, [esp + 0x70]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00414360
mov edi, dword [esp + 0x30]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1b0]
mov esi, 0x42fee0
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x30], eax
call fcn.00414360
mov edi, dword [esp + 0x44]
mov ecx, 0x2c
mov eax, dword [esp + 0x670]
mov edx, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x674]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x678]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x67c]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x680]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x684]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x688]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x68c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x690]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x694]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x698]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x69c]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x6a0]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x6a4]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x6a8]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x6ac]
mov dword [edi + 0x3c], eax
lea edi, [esp + 0x380]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x7f0]
mov esi, 0x42fe60
mov dword [esp + 0x38], 0
lea eax, [esp + 0x230]
mov cl, 0x20
rep movsd dword es:[edi], dword [esi]
add dword [esp + 0x38], 1
mov ecx, 0x20
mov edi, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xf0]
mov dword [esp + 8], 0
mov dword [esp + 0x370], eax
mov dword [esp + 0x374], eax
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x770]
mov dword [esp], eax
mov dword [esp + 0x48], eax
call fcn.00414360
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x770]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 0x40], eax
call fcn.00414360
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
bswap esi
mov dword [edx + ecx*4], esi
add ecx, 1
cmp ecx, 0x20
jne 0x413e85
sub edx, 0xffffff80
cmp dword [esp + 0x38], 4
jne 0x413de7
xor eax, eax
lea esi, [esp + 0x8f0]
lea esi, [esi]
mov edx, dword [ebx + eax*4]
mov dword [esp + eax + 0x770], edx
mov edx, dword [ebx + eax*4 + 4]
mov dword [esp + eax + 0x7f0], edx
mov edx, dword [ebx + eax*4 + 8]
mov dword [esp + eax + 0x870], edx
mov edx, dword [ebx + eax*4 + 0xc]
mov dword [esi + eax], edx
add eax, 4
cmp eax, 0x80
jne 0x413eb0
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x18]
mov dword [esp + 8], eax
lea eax, [esp + 0x770]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0041ae20
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
lea eax, [esp + 0x7f0]
mov dword [esp], eax
call fcn.0041ae20
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
lea eax, [esp + 0x870]
mov dword [esp], eax
call fcn.0041ae20
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0041ae20
xor eax, eax
mov edx, dword [esp + eax + 0x770]
mov dword [ebx + eax*4], edx
mov edx, dword [esp + eax + 0x7f0]
mov dword [ebx + eax*4 + 4], edx
mov edx, dword [esp + eax + 0x870]
mov dword [ebx + eax*4 + 8], edx
mov edx, dword [esi + eax]
mov dword [ebx + eax*4 + 0xc], edx
add eax, 4
cmp eax, 0x80
jne 0x413f48
lea eax, [esp + 0x70]
mov dword [esp], eax
lea esi, [esp + 0x70]
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
call fcn.00414360
lea eax, [esp + 0x670]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00414360
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x42fd60
call fcn.00414360
mov edi, dword [esp + 0x44]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x3b0]
mov esi, 0x42fe60
lea eax, [esp + 0x330]
mov dword [esp + 0x44], eax
mov cl, 0x20
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
lea eax, [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 8], 0
call fcn.00414360
xor eax, eax
mov edx, dword [esp + eax*4 + 0xf0]
bswap edx
mov dword [ebx + eax*4], edx
add eax, 1
cmp eax, 0x20
jne 0x414013
mov eax, dword [esp + 0x570]
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0x574]
mov dword [esp + 0x2d0], eax
mov eax, dword [esp + 0x578]
mov dword [esp + 0x2f0], eax
mov eax, dword [esp + 0x57c]
mov dword [esp + 0x310], eax
mov eax, dword [esp + 0x580]
mov dword [esp + 0x2b4], eax
mov eax, dword [esp + 0x584]
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x588]
mov dword [esp + 0x2f4], eax
mov eax, dword [esp + 0x58c]
mov dword [esp + 0x314], eax
mov eax, dword [esp + 0x590]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x594]
mov dword [esp + 0x2d8], eax
mov eax, dword [esp + 0x598]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x59c]
mov dword [esp + 0x318], eax
mov eax, dword [esp + 0x5a0]
mov dword [esp + 0x2bc], eax
mov eax, dword [esp + 0x5a4]
mov dword [esp + 0x2dc], eax
mov eax, dword [esp + 0x5a8]
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x5ac]
mov dword [esp + 0x31c], eax
mov eax, dword [esp + 0x5b0]
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x5b4]
mov edx, dword [esp + 0x5e4]
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x5b8]
mov dword [esp + 0x2ec], edx
mov edx, dword [esp + 0x5e8]
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x5bc]
mov dword [esp + 0x30c], edx
mov edx, dword [esp + 0x5ec]
mov dword [esp + 0x320], eax
mov eax, dword [esp + 0x5c0]
mov dword [esp + 0x32c], edx
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x5c4]
mov dword [esp + 0x2e4], eax
mov eax, dword [esp + 0x5c8]
mov dword [esp + 0x304], eax
mov eax, dword [esp + 0x5cc]
mov dword [esp + 0x324], eax
mov eax, dword [esp + 0x5d0]
mov dword [esp + 0x2c8], eax
mov eax, dword [esp + 0x5d4]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x5d8]
mov dword [esp + 0x308], eax
mov eax, dword [esp + 0x5dc]
mov dword [esp + 0x328], eax
mov eax, dword [esp + 0x5e0]
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x2cc], eax
jb 0x41397e
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [esp + 0x2b0]
mov dword [esp], eax
call fcn.00406df0
test al, al
je 0x41397e
mov eax, 0x13
jmp 0x414288
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [esp + 0x310]
mov dword [esp], eax
call fcn.00406df0
test al, al
je 0x4139bf
mov eax, 0x4f
jmp 0x414288
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [esp + 0x2f0]
mov dword [esp], eax
call fcn.00406df0
test al, al
je 0x4139a7
mov eax, 0x3b
jmp 0x414288
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [esp + 0x2d0]
mov dword [esp], eax
call fcn.00406df0
test al, al
je 0x413996
mov eax, 0x27
mov ebx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + eax*4 + 0x430]
sub edx, dword [ebx + 0x4c]
mov ebx, dword [ebp + 0x1c]
add edx, 1
mov dword [ebx], edx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x4c], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x34]
mov eax, ebx
sub eax, dword [esi + 0x4c]
mov esi, dword [ebp + 0x1c]
add eax, 1
mov dword [esi], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [esi + 0x4c], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret