Function at 0x41b3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x370
lea eax, [ebp - 0x80]
push 0
push 0x18
push eax
call fcn.00443fd0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x80], 0x4c7fc8
mov byte [ebp - 0x6c], 0
pop ebx
mov eax, dword [edx + 0x48]
pop esi
lea ecx, [ebp - 0x80]
cmp dword [eax - 0xc], 1
setne dl
and edx, 0xff
neg edx
and eax, edx
push eax
push ecx
call fcn.0041a460
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x41b7ea
mov eax, dword [ebp + 8]
cmp byte [0x4ca038], 0
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x350], eax
je 0x41b855
mov edx, dword [ebp + 0xc]
cmp byte [edx + 0x11], 0
je 0x41b815
mov dword [ebp - 0x2ec], 0
mov edi, dword [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x1c4]
push edi
push 0
push eax
call fcn.0040fb10
mov esi, dword [ebp - 0x350]
add esp, 0x10
test esi, esi
je 0x41ca12
mov dword [ebp - 0x34c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34c]
shl eax, 2
push ebx
push ebx
mov ecx, dword [edx + 0x28]
add eax, ecx
lea ecx, [ebp - 0x40]
push eax
push ecx
call fcn.00492880
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
add esp, 0x10
test eax, eax
je 0x41bab4
mov edi, dword [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x248]
push edi
push 0
push eax
call fcn.0040fb10
add esp, 0xc
lea edx, [ebp - 0x2cc]
mov esi, dword [ebp - 0x2ec]
push esi
push 0
push edx
call fcn.0040fb10
mov edx, dword [ebp - 0x40]
add esp, 0x10
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x344], ecx
test ecx, ecx
je 0x41c335
mov dword [ebp - 0x340], 0
push ebx
push ebx
mov ecx, dword [edx + 0x2c]
mov eax, dword [ebp - 0x340]
lea eax, [ecx + eax*4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00492700
mov eax, dword [ebp - 0x3c]
add esp, 0x10
test eax, eax
jne 0x41b8a0
lea ebx, [ebp - 0x10]
push eax
push eax
push 0x4b09ee
push ebx
call fcn.00434200
add esp, 0xc
lea edx, [ebp - 0x248]
push 0
push ebx
push edx
call fcn.00410010
mov dword [esp], ebx
call fcn.00433ac0
lea ecx, [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00492730
add esp, 0x10
mov edi, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x344]
inc edi
mov dword [ebp - 0x340], edi
cmp dword [ebp - 0x340], ecx
je 0x41c335
mov edx, dword [ebp - 0x40]
jmp 0x41b4e2
sub esp, 0xc
lea eax, [ebp - 0x20]
lea ebx, [ebp - 0x260]
push eax
call fcn.004927f0
pop eax
mov eax, dword [ebp - 0x370]
push eax
call fcn.00492670
pop eax
mov eax, dword [ebp - 0x36c]
push eax
call fcn.00433ac0
lea edx, [ebp - 0x3c]
mov dword [esp], edx
call fcn.00492730
mov dword [esp], ebx
mov dword [ebp - 0x260], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x278]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x278], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x28c]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x28c], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2a0]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2a0], 0x4c8708
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2b4]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2b4], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2c8]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2c8], 0x4c87c8
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1dc]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x1dc], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1f4]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x1f4], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x208]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x208], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x21c]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x21c], 0x4c8708
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x230]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x230], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x244]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x244], 0x4c87c8
call fcn.004443a0
mov dword [esp], ebx
call fcn.004441b0
lea ecx, [ebp - 0x40]
mov dword [esp], ecx
call fcn.004928b0
add esp, 0x10
sub esp, 0xc
lea ebx, [ebp - 0x158]
mov dword [ebp - 0x158], 0x4c7f48
push ebx
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x170]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x170], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x184]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x184], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x198]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x198], 0x4c8708
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1ac]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x1ac], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1c0]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x1c0], 0x4c87c8
call fcn.004443a0
mov dword [esp], ebx
call fcn.004441b0
add esp, 0x10
sub esp, 0xc
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x4c7fc8
push ecx
call fcn.004443a0
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.00444210
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edx + 0x9c]
test eax, eax
je 0x41c322
lea ecx, [ebp - 0x4c]
push edx
push 0
push ecx
push eax
call sub.msvcrt.dll_strtol
mov edx, eax
mov eax, dword [ebp - 0x4c]
add esp, 0x10
cmp byte [eax], 0
jne 0x41b846
cmp edx, 7
jle 0x41b42a
mov dword [ebp - 0x2ec], 1
jmp 0x41b434
sub esp, 0xc
push 0x4ca038
call fcn.004a4400
add esp, 0x10
test eax, eax
je 0x41b41d
push ecx
push ecx
push 0x4b09e7
push 0x4ca048
call fcn.00434200
mov dword [esp], 0x4ca038
call fcn.004a45a0
mov dword [esp], 0x415390
call section..text
add esp, 0x10
jmp 0x41b41d
add eax, 8
push edi
push edi
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x36c], eax
call fcn.00433920
add esp, 0xc
lea edx, [ebp - 0x248]
mov esi, dword [ebp - 0x36c]
push 0
push esi
push edx
call fcn.00410010
mov edx, dword [0x4ca048]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx - 0xc]
shr eax, 1
dec eax
push eax
push edx
mov eax, dword [ecx - 0xc]
shr eax, 1
dec eax
push eax
push ecx
call fcn.00445470
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2f0], eax
add esp, 0x20
mov ecx, dword [edx + 0x68]
mov dword [ebp - 0x33c], ecx
test ecx, ecx
je 0x41c303
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x374], ecx
push ebx
push ebx
mov ecx, dword [edx + 0x64]
mov eax, dword [ebp - 0x338]
lea eax, [ecx + eax*4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00492640
mov eax, dword [ebp - 0x24]
add esp, 0x10
test eax, eax
je 0x41baa3
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x334], edx
test edx, edx
je 0x41ba6d
xor ebx, ebx
mov dword [ebp - 0x330], 0
jmp 0x41b9a4
sub esp, 0xc
lea edx, [ebp - 0x20]
push edx
call fcn.004927f0
add esp, 0x10
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x334]
inc eax
add ebx, 0x28
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], ecx
je 0x41ba6d
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x30]
mov ecx, 9
cld
add esi, ebx
mov edi, dword [ebp - 0x374]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2f0]
test edx, edx
je 0x41b9dd
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0x80]
push edi
push edi
push ecx
push eax
call fcn.0041a2a0
add esp, 0x10
test al, al
je 0x41b97f
mov eax, dword [ebp - 0x24]
push esi
push esi
mov ecx, dword [eax + 0x30]
lea eax, [ebx + ecx]
add eax, 0x24
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004927c0
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
je 0x41b970
add eax, 8
lea edx, [ebp - 0x14]
push esi
push esi
push eax
push edx
call fcn.00433920
add esp, 0xc
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x2cc]
push 1
push ecx
push eax
call fcn.00410010
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x64], eax
lea edx, [ebp - 0x14]
mov dword [esp], edx
call fcn.00433ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c4]
push ecx
push edx
call fcn.004175c0
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x41b567
sub esp, 0xc
lea eax, [ebp - 0x20]
push eax
call fcn.004927f0
add esp, 0x10
jmp 0x41b97f
sub esp, 0xc
lea eax, [ebp - 0x24]
push eax
call fcn.00492670
add esp, 0x10
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x33c]
inc eax
mov dword [ebp - 0x338], eax
cmp dword [ebp - 0x338], ecx
je 0x41c303
mov edx, dword [ebp - 0x3c]
jmp 0x41b927
sub esp, 0xc
lea edx, [ebp - 0x24]
push edx
call fcn.00492670
add esp, 0x10
jmp 0x41ba7c
sub esp, 0xc
lea eax, [ebp - 0x40]
push eax
call fcn.004928b0
add esp, 0x10
mov eax, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x350]
inc eax
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], edx
jne 0x41b465
lea ecx, [ebp - 0x68]
push edi
push 0
push 4
push ecx
call fcn.00443e90
mov dword [ebp - 0x68], 0x4c8a68
mov dword [ebp - 0x2d8], 0
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d8]
push esi
push esi
mov ebx, dword [edx + 0x28]
lea ecx, [ebp - 0x20]
shl eax, 2
add eax, ebx
push eax
push ecx
call fcn.00492880
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
add esp, 0x10
test ecx, ecx
je 0x41c94d
sub esp, 0xc
add eax, 0x44
lea esi, [ebp - 0x13c]
lea edi, [ebp - 0x138]
push eax
call fcn.00438da0
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x140]
mov dword [esp], edx
call fcn.00432f90
mov dword [esp], esi
call fcn.00432f90
mov dword [esp], edi
call fcn.00432f90
lea ecx, [ebp - 0x134]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x12c]
mov dword [esp], edx
call fcn.00432f90
lea ecx, [ebp - 0x128]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0x124]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x120]
mov dword [esp], edx
call fcn.00432f90
lea ecx, [ebp - 0x11c]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x114]
mov dword [esp], edx
call fcn.00432f90
lea ecx, [ebp - 0x110]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00432f90
lea ecx, [ebp - 0x104]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0x100]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0xfc]
mov dword [esp], edx
call fcn.00432f90
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
call fcn.00432f90
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.00432f90
lea edx, [ebp - 0x2c]
mov dword [esp], edx
call fcn.00432f90
mov dword [esp], 0x74
call fcn.004a3a30
mov ebx, eax
mov dword [esp], eax
call fcn.004346c0
lea eax, [ebx + 8]
mov dword [ebx], 0x4c7308
mov dword [esp], eax
call fcn.00432f90
pop eax
lea ecx, [ebp - 0x140]
pop edx
lea eax, [ebx + 0xc]
push ecx
push eax
call fcn.00432ca0
pop ecx
pop eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.00432ca0
pop eax
lea eax, [ebx + 0x14]
pop edx
push edi
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0x130]
pop esi
lea eax, [ebx + 0x1c]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0x12c]
pop eax
lea eax, [ebx + 0x20]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebx + 0x24]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0x124]
pop esi
lea eax, [ebx + 0x28]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0x120]
pop eax
lea eax, [ebx + 0x2c]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0x118]
pop esi
lea eax, [ebx + 0x34]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0x114]
pop eax
lea eax, [ebx + 0x38]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0x10c]
pop esi
lea eax, [ebx + 0x40]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0x108]
pop eax
lea eax, [ebx + 0x44]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0x100]
pop esi
lea eax, [ebx + 0x4c]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0xfc]
pop eax
lea eax, [ebx + 0x50]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00432ca0
pop ecx
lea edx, [ebp - 0xf4]
pop esi
lea eax, [ebx + 0x58]
push edx
push eax
call fcn.00432ca0
lea ecx, [ebp - 0x2c]
pop eax
lea eax, [ebx + 0x5c]
pop edx
push ecx
push eax
call fcn.00432ca0
pop edi
pop eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.00432ca0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
lea edx, [ebp - 0x24]
pop ecx
pop esi
mov dword [ebp - 0x370], edx
push ebx
push edx
call fcn.00492390
lea ecx, [ebp - 0x2c]
mov dword [esp], ecx
call fcn.00432bc0
lea eax, [ebp - 0x140]
mov dword [esp], eax
call fcn.004904d0
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.00432bc0
pop eax
mov eax, dword [ebp - 0x24]
pop edx
push 0x11c
push eax
call fcn.004025f0
add esp, 0x10
mov esi, eax
test eax, eax
je 0x41cb98
push edi
push 0x11c
push 0
push eax
call sub.msvcrt.dll_memset
mov word [esi], 0x200
mov word [esi + 2], 0x11c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 8
pop ebx
lea ebx, [ebp - 0x30]
push eax
push ebx
call fcn.00433920
pop eax
mov edi, dword [ebp - 0x30]
pop edx
lea eax, [esi + 0xc]
push edi
push eax
call fcn.0040f830
mov dword [esp], ebx
call fcn.00433ac0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x68]
pop ecx
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x20]
pop ebx
add eax, 0x3c
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x36c], ecx
push ecx
call fcn.004923c0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [eax + 0x68]
push edx
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00402640
add esp, 0x10
mov esi, eax
test eax, eax
js 0x41c88c
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x38]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x324], eax
push eax
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x40
push eax
push ebx
call fcn.004923c0
mov ecx, dword [ebp - 0x36c]
pop esi
pop edi
push ebx
push ecx
call fcn.00492450
mov dword [esp], ebx
call fcn.004923f0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [eax + 0x68]
push edx
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00402640
add esp, 0x10
mov esi, eax
test eax, eax
js 0x41c88c
mov eax, dword [ebp - 0x32c]
test eax, eax
je 0x41cac9
mov dword [ebp - 0x320], 0
lea eax, [ebp - 0x4c]
push edi
push eax
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x320]
add eax, 0x44
push esi
push eax
call fcn.0043a730
pop ecx
lea edx, [ebp - 0x3c]
pop ebx
push eax
push edx
call fcn.00434310
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
pop eax
lea eax, [ebp - 0x54]
pop edx
push ecx
push eax
call fcn.00433920
lea edx, [ebp - 0x54]
pop esi
lea eax, [ebx + 0x10]
pop edi
mov dword [ebp - 0x50], 0
push edx
push eax
call fcn.004440e0
lea ecx, [ebp - 0x50]
mov esi, eax
mov dword [esp], ecx
call fcn.00492730
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.00433ac0
add esp, 0x10
lea eax, [ebx + 0x24]
test esi, esi
js 0x41c003
lea eax, [esi*8]
mov ecx, dword [ebx + 0x14]
add eax, ecx
add eax, 4
push edx
push edx
lea edx, [ebp - 0x40]
push eax
push edx
call fcn.00492700
mov edi, dword [ebp - 0x40]
add esp, 0x10
test edi, edi
je 0x41ca2f
mov edx, dword [0x4ca048]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx - 0xc]
shr eax, 1
dec eax
push eax
push edx
mov eax, dword [ecx - 0xc]
shr eax, 1
dec eax
push eax
push ecx
call fcn.00445470
add esp, 0x10
mov edi, eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41c9f4
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x318], eax
shl eax, 2
mov esi, eax
mov dword [ebp - 0x2e8], eax
add esi, 0x10
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x68]
push edx
push edx
lea edx, [esi + ebx]
push edx
push eax
call fcn.004025f0
add esp, 0x10
add eax, ebx
je 0x41cbbc
test edi, edi
setne byte [ebp - 0x319]
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], esi
mov word [eax], 0x202
mov word [eax + 2], 0x10
mov dl, byte [ebp - 0x320]
inc edx
mov byte [ebp - 0x355], dl
mov byte [eax + 8], dl
mov ecx, dword [ebp - 0x318]
mov dword [eax + 0xc], ecx
push esi
mov ecx, dword [ebp - 0x24]
push esi
push 0
push ecx
call fcn.004013a0
add esp, 0xc
add ebx, eax
mov edx, dword [ebp - 0x2e8]
mov eax, ebx
push edx
add eax, 0x10
push 0
mov dword [ebp - 0x354], ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x318]
add esp, 0x10
test eax, eax
je 0x41c5af
mov dword [ebp - 0x30c], 0
mov edx, dword [ebp - 0x40]
push eax
push eax
mov eax, dword [ebp - 0x30c]
shl eax, 2
mov edi, dword [edx + 0x64]
add eax, edi
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00492640
mov eax, dword [ebp - 0x248]
add esp, 0x10
cmp byte [eax + 0x1c], 0
je 0x41c152
mov edx, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x354]
mov esi, dword [ecx + edx*4 + 0x10]
or esi, 0x40000000
mov dword [ecx + edx*4 + 0x10], esi
mov eax, dword [ebp - 0x248]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x308], eax
test eax, eax
je 0x41c57e
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x2dc], 0
cmp byte [ebp - 0x319], 0
jne 0x41c518
mov edx, dword [ebp - 0x304]
cmp dword [ebp - 0x308], edx
jbe 0x41c57e
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2d4], edx
add ecx, 0x28
mov edi, ecx
mov dword [ebp - 0x35c], ecx
jmp 0x41c2d1
mov edx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x30c]
mov eax, dword [edx + eax*4 + 0x10]
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x248]
mov eax, dword [eax + 0x30]
lea ebx, [eax + edx]
lea esi, [eax + edi]
mov eax, dword [ebx + 4]
cmp ax, word [esi + 4]
setne al
xor edx, edx
mov dl, al
mov ax, word [ebx + 6]
cmp ax, word [esi + 6]
mov ecx, edx
je 0x41c1fc
mov ecx, edx
or ecx, 1
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 8]
je 0x41c207
or ecx, 4
mov al, byte [ebx + 0xc]
cmp al, byte [esi + 0xc]
je 0x41c212
or cl, 0x80
mov ax, word [ebx + 0xe]
cmp ax, word [esi + 0xe]
je 0x41c21f
or ch, 1
mov al, byte [ebx + 0xd]
cmp al, byte [esi + 0xd]
je 0x41c22a
or ecx, 8
xor eax, eax
xor edx, edx
mov al, byte [esi + 0x12]
mov dl, byte [ebx + 0x12]
xor eax, edx
test al, 0xf
je 0x41c23d
or ecx, 0x20
mov al, byte [ebx + 0x10]
cmp al, byte [esi + 0x10]
je 0x41c248
or ecx, 0x10
mov al, byte [ebx + 0x11]
cmp al, byte [esi + 0x11]
je 0x41c253
or ecx, 0x40
mov eax, dword [ebx + 0x14]
cmp eax, dword [esi + 0x14]
je 0x41c25e
or ch, 2
mov eax, dword [ebx + 0x18]
cmp eax, dword [esi + 0x18]
je 0x41c269
or ch, 4
mov al, byte [ebx + 0x1c]
cmp al, byte [esi + 0x1c]
je 0x41c274
or ch, 8
mov al, byte [ebx + 0x1d]
cmp al, byte [esi + 0x1d]
je 0x41c27f
or ch, 0x10
mov ax, word [ebx + 0x1e]
cmp ax, word [esi + 0x1e]
je 0x41c28c
or ch, 0x20
mov eax, dword [ebx + 0x20]
cmp eax, dword [esi + 0x20]
je 0x41c297
or ch, 2
mov eax, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x354]
or ecx, eax
mov eax, dword [ebp - 0x30c]
mov dword [edx + eax*4 + 0x10], ecx
mov eax, dword [ebp - 0x2d4]
add edi, 0x28
inc eax
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
cmp dword [ebp - 0x308], ecx
jbe 0x41c560
cmp byte [ebp - 0x319], 0
je 0x41c1b2
push eax
push eax
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x80]
mov edx, dword [eax + 0x30]
lea eax, [edi + edx]
push eax
push ecx
call fcn.0041a2a0
add esp, 0x10
test al, al
jne 0x41c1b2
jmp 0x41c2af
sub esp, 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.00433ac0
lea edx, [ebp - 0x3c]
mov dword [esp], edx
call fcn.00492730
add esp, 0x10
jmp 0x41b540
mov eax, dword [edx + 0xa0]
test eax, eax
jne 0x41b823
jmp 0x41b42a
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x248]
push esi
push esi
push eax
push ebx
call fcn.00410050
mov ecx, dword [ebp - 0x40]
sub esp, 0xc
push ebx
push ecx
call fcn.00415560
add esp, 0x14
push ebx
lea ebx, [ebp - 0x1c]
call fcn.004923f0
pop eax
pop edx
lea edx, [ebp - 0x2cc]
push edx
push ebx
call fcn.00410050
mov eax, dword [ebp - 0x40]
sub esp, 0xc
push ebx
push eax
call fcn.00415500
add esp, 0x14
push ebx
lea ebx, [ebp - 0x260]
call fcn.004923f0
mov dword [esp], ebx
mov dword [ebp - 0x260], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x278]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x278], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x28c]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x28c], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2a0]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2a0], 0x4c8708
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2b4]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2b4], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x2c8]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x2c8], 0x4c87c8
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1dc]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x1dc], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x1f4]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x1f4], 0x4c7f48
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x208]
call fcn.00444210
mov dword [esp], ebx
mov dword [ebp - 0x208], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x21c]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x21c], 0x4c8708
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x230]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x230], 0x4c9068
call fcn.004443a0
mov dword [esp], ebx
lea ebx, [ebp - 0x244]
call fcn.004441b0
mov dword [esp], ebx
mov dword [ebp - 0x244], 0x4c87c8
call fcn.004443a0
mov dword [esp], ebx
call fcn.004441b0
lea ecx, [ebp - 0x40]
mov dword [esp], ecx
call fcn.004928b0
add esp, 0x10
jmp 0x41bac3
mov eax, dword [ebp - 0x248]
push ecx
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x80]
add eax, edx
push eax
push ecx
call fcn.0041a2a0
add esp, 0x10
test al, al
jne 0x41c184
mov eax, dword [ebp - 0x304]
cmp dword [ebp - 0x308], eax
jbe 0x41c57e
mov eax, dword [ebp - 0x2dc]
add eax, 0x28
mov dword [ebp - 0x35c], eax
lea esi, [esi]
mov ebx, dword [ebp - 0x304]
mov edx, dword [ebp - 0x35c]
inc ebx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x304], ebx
jmp 0x41c177
sub esp, 0xc
lea edx, [ebp - 0x248]
push edx
call fcn.00492670
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x318]
inc eax
add esp, 0x10
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], ecx
jne 0x41c103
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2e8]
add ecx, 0x38
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x314], edx
test edx, edx
je 0x41ca90
lea edx, [ebp - 0xc8]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x378], edx
mov edi, dword [eax + 0x38]
mov esi, dword [ebp - 0x2e0]
cld
add esi, edi
mov ecx, 9
mov edi, dword [ebp - 0x378]
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x319], 0
je 0x41c631
lea ecx, [ebp - 0xc8]
lea eax, [ebp - 0x80]
push ebx
push ebx
push ecx
push eax
call fcn.0041a2a0
add esp, 0x10
test al, al
je 0x41c917
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x310]
mov ecx, dword [eax + 0x68]
push ebx
add edx, ecx
push ebx
mov dword [ebp - 0x2fc], ecx
push edx
push eax
call fcn.004025f0
mov edx, dword [ebp - 0x2fc]
add esp, 0x10
add edx, eax
je 0x41cb60
cld
xor eax, eax
mov ecx, 0xe
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx], 0x201
mov word [edx + 2], 0x38
mov cl, byte [ebp - 0x355]
lea edi, [edx + 0x14]
mov byte [edx + 8], cl
mov eax, dword [ebp - 0x318]
mov dword [edx + 0xc], eax
test eax, eax
mov ecx, dword [ebp - 0x310]
mov dword [edx + 0x10], ecx
mov ecx, 9
mov esi, dword [ebp - 0x378]
rep movsd dword es:[edi], dword [esi]
je 0x41c8ef
lea eax, [ebp - 0x248]
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x368], edx
mov dword [ebp - 0x360], ecx
jmp 0x41c73e
mov eax, dword [ebp - 0x2e4]
mov dword [eax + edx], 0xffffffff
sub esp, 0xc
lea edx, [ebp - 0xa4]
push edx
call fcn.004927f0
lea ecx, [ebp - 0x248]
mov dword [esp], ecx
call fcn.00492670
mov eax, dword [ebp - 0x2f8]
mov edi, dword [ebp - 0x2e4]
inc eax
add edi, 4
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x318]
add esp, 0x10
mov dword [ebp - 0x2e4], edi
cmp dword [ebp - 0x2f8], eax
je 0x41c8ef
mov eax, dword [ebp - 0x40]
push ecx
push ecx
mov edx, dword [ebp - 0x2e4]
mov eax, dword [eax + 0x64]
add eax, edx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00492640
mov edx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x360]
cld
mov dword [ebp - 0x2f4], edx
mov esi, dword [ebp - 0x378]
mov ecx, 9
mov eax, edx
rep movsd dword es:[edi], dword [esi]
add eax, 0x2c
lea ecx, [ebp - 0xf0]
pop esi
pop edi
push ecx
mov dword [ebp - 0x360], ecx
push eax
mov dword [ebp - 0xcc], 0
call fcn.004440e0
lea edx, [ebp - 0xcc]
mov ebx, eax
mov dword [esp], edx
call fcn.004927f0
add esp, 0x10
test ebx, ebx
js 0x41c8e1
mov ecx, dword [ebp - 0x2f4]
lea eax, [ebx + ebx*4]
shl eax, 3
mov ebx, dword [ecx + 0x30]
add eax, ebx
add eax, 0x24
push edx
push edx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004927c0
pop edi
mov esi, dword [ebp - 0x24]
pop eax
push 0
push esi
call fcn.004013a0
mov ecx, dword [ebp - 0x2fc]
mov ebx, dword [ebp - 0xa4]
add esp, 0x10
lea edx, [ecx + eax + 0x38]
test ebx, ebx
je 0x41c6e3
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x68]
sub eax, ecx
mov ecx, dword [ebp - 0x310]
sub eax, ecx
mov ecx, dword [ebp - 0x2e4]
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x248]
mov edx, dword [ebp - 0x370]
mov al, byte [eax + 0x1c]
and eax, 0xff
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00417190
add esp, 0x10
mov ebx, eax
test eax, eax
jns 0x41c6f0
sub esp, 0xc
mov eax, dword [ebp - 0x368]
mov esi, ebx
push eax
call fcn.004927f0
pop eax
mov eax, dword [ebp - 0x364]
push eax
call fcn.00492670
add esp, 0x10
sub esp, 0xc
lea edx, [ebp - 0x40]
push edx
call fcn.00492730
lea ecx, [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00433ac0
add esp, 0x10
sub esp, 0xc
mov edi, dword [ebp - 0x36c]
push edi
call fcn.004923f0
add esp, 0x10
sub esp, 0xc
mov ebx, dword [ebp - 0x370]
push ebx
call fcn.004923f0
lea edx, [ebp - 0x20]
mov dword [esp], edx
call fcn.004928b0
add esp, 0x10
sub esp, 0xc
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x4c8a68
push eax
call fcn.004443a0
lea edx, [ebp - 0x68]
mov dword [esp], edx
call fcn.004441b0
add esp, 0x10
jmp 0x41b726
mov eax, dword [ebp - 0x2f4]
add eax, 0x40
jmp 0x41c7ce
mov ebx, dword [ebp - 0x24]
push esi
push esi
push 0
push ebx
call fcn.004013a0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2fc]
add esp, 0x10
mov edx, dword [edx + 0x68]
sub edx, ecx
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx + eax + 4], edx
mov eax, dword [ebp - 0x300]
mov edi, dword [ebp - 0x2e0]
inc eax
add edi, 0x24
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x2e0], edi
cmp dword [ebp - 0x300], eax
je 0x41ca90
mov eax, dword [ebp - 0x40]
jmp 0x41c5f2
sub esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
call fcn.004928b0
add esp, 0x10
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x350]
inc ecx
mov dword [ebp - 0x2d8], ecx
cmp dword [ebp - 0x2d8], eax
jne 0x41bb04
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [ebp - 0x60]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x348], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xa4], 2
mov word [ebp - 0xa2], 0xc
push edx
push 0xc
push ecx
push eax
call fcn.00402640
add esp, 0x10
mov esi, eax
test eax, eax
je 0x41cbe0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x2e
push 1
push str.ERROR:_out_of_memory_creating_ResTable_header_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41c8bb
mov esi, 0x10
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x2e8], 0
jmp 0x41c062
lea eax, [ebp - 0x68]
push ecx
push 0
push 4
push eax
call fcn.00443e90
add esp, 0x10
mov dword [ebp - 0x68], 0x4c8a68
jmp 0x41c97b
lea ecx, [ebp - 0x44]
push esi
push esi
push 0x4b09ee
push ecx
call fcn.00434200
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx - 0xc]
shr eax, 1
dec eax
push eax
push edx
mov eax, dword [ecx - 0xc]
shr eax, 1
dec eax
push eax
push ecx
call fcn.00445470
add esp, 0x20
test eax, eax
je 0x41cb84
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004332f0
mov ecx, dword [ebp - 0x48]
push ecx
push str.Type_name__s_not_found
push 0
push str.t__NULL__typeName___String16___empty___
call fcn.0044c290
lea esi, [esi]
sub esp, 0xc
lea edx, [ebp - 0x40]
push edx
call fcn.00492730
lea ecx, [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00433ac0
mov esi, dword [ebp - 0x320]
mov eax, dword [ebp - 0x32c]
inc esi
add esp, 0x10
mov dword [ebp - 0x320], esi
cmp dword [ebp - 0x320], eax
jne 0x41bf86
mov ecx, dword [ebp - 0x24]
push ebx
push ebx
push 0
push ecx
call fcn.004013a0
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x68]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x328]
mov dword [ebx + 0x10c], eax
mov eax, dword [ebp - 0x20]
add eax, 0x44
mov dword [esp], eax
call fcn.00438da0
mov dword [ebx + 0x110], eax
mov edx, dword [ebp - 0x324]
mov dword [ebx + 0x114], edx
mov eax, dword [ebp - 0x20]
add eax, 0x74
mov dword [esp], eax
call fcn.00438da0
mov dword [ebx + 0x118], eax
lea ecx, [ebp - 0x68]
pop eax
mov eax, dword [ebp - 0x370]
pop edx
push eax
push ecx
call fcn.00444a20
pop eax
mov eax, dword [ebp - 0x36c]
push eax
call fcn.004923f0
pop eax
mov eax, dword [ebp - 0x370]
push eax
call fcn.004923f0
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.004928b0
add esp, 0x10
jmp 0x41c95c
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, 0xfffffff4
add eax, 0x40
push eax
push 0x2c
push 1
push str.ERROR:_out_of_memory_creating_ResTable_type_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41c872
sub esp, 0xc
lea edx, [ebp - 0x44]
push edx
call fcn.00433ac0
add esp, 0x10
jmp 0x41c01d
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, 0xfffffff4
add eax, 0x40
push eax
push 0x2f
push 1
push str.ERROR:_out_of_memory_creating_ResTable_package_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41c89e
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, 0xfffffff4
add eax, 0x40
push eax
push 0x30
push 1
push str.ERROR:_out_of_memory_creating_ResTable_typeSpec_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41c872
mov edi, dword [ebp + 0x10]
push eax
push eax
lea eax, [ebp - 0x1c4]
push edi
push eax
call fcn.00410420
add esp, 0x10
test eax, eax
je 0x41cc00
mov esi, eax
jmp 0x41c8bb
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x41cc5a
xor ebx, ebx
jmp 0x41cc16
inc ebx
cmp dword [ebp - 0x60], ebx
jbe 0x41cc5a
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + ebx*4]
push ecx
mov edx, dword [eax + 0x68]
push edx
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [edx]
push eax
call fcn.00402640
add esp, 0x10
mov edi, eax
test eax, eax
je 0x41cc10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, edi
add eax, 0x40
push eax
push 0x40
push 1
push str.ERROR:_out_of_memory_creating_package_chunk_for_ResTable_header_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41c8bb
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x348]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x348]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
sub eax, edi
mov dword [edx + ecx + 4], eax
jmp 0x41c8bb