Function at 0x421df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x170], 0xffffffff
je 0x421e55
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
push edx
call fcn.0063d25b
add esp, 4
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x170], 0xffffffff
push 0x100
push 0x20
push 0x8000
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x134]
add edx, 0x170
push edx
call fcn.0063ce48
add esp, 0x14
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x170], 0xffffffff
jne 0x421ea9
cmp dword [ebp + 0xc], 0
je 0x421ea2
push str.LoadMassfile_Error___sopen_s_failure
mov ecx, dword [ebp + 0xc]
call fcn.004191c0
xor al, al
jmp 0x422f0b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x134]
add edx, 0x6c
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x1d8]
mov dl, byte [ecx]
mov byte [ebp - 0x135], dl
mov eax, dword [ebp - 0x1b8]
mov cl, byte [ebp - 0x135]
mov byte [eax], cl
mov edx, dword [ebp - 0x1d8]
add edx, 1
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1b8]
add eax, 1
mov dword [ebp - 0x1b8], eax
cmp byte [ebp - 0x135], 0
jne 0x421ecd
mov ecx, dword [ebp - 0x134]
add ecx, 4
call fcn.004245c0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004193d0
mov dword [ebp - 4], 0
push 0
push 0x6c6534
lea ecx, [ebp - 0x30]
call fcn.00418d70
cmp eax, 0xffffffff
je 0x421f62
mov dword [ebp - 0x228], 1
jmp 0x421f6c
mov dword [ebp - 0x228], 0
mov dl, byte [ebp - 0x228]
mov byte [ebp - 0x146], dl
push 4
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
push edx
call fcn.0063be3e
add esp, 0xc
mov eax, dword [ebp - 0x130]
push eax
call fcn.004eab55
add esp, 4
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
push edx
call fcn.0063be3e
add esp, 0xc
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
push edx
call fcn.0063be3e
add esp, 0xc
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x134]
call fcn.00421cd0
xor eax, eax
mov ecx, dword [ebp - 0x134]
add ecx, 0x4c
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov word [ecx + 0x14], ax
mov edx, dword [ebp - 0x134]
add edx, 0x4c
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov ax, word [eax + 0x14]
mov word [edx + 0x14], ax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x5e]
add edx, 1
push edx
call fcn.004eab55
add esp, 4
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x270]
mov dword [eax + 0x68], ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x5e]
push eax
mov ecx, 1
imul edx, ecx, 0x16
add edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x68]
push ecx
call fcn.00633410
add esp, 0xc
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x5e]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x68]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
push ecx
call fcn.004eab50
add esp, 4
cmp dword [ebp - 0x1f4], 0
jne 0x4220fd
mov dword [ebp - 0x278], 0
jmp 0x422113
mov dword [ebp - 0x15c], 0x8123
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x134]
movzx ecx, word [eax + 0x54]
mov edx, dword [ebp - 0x134]
mov dword [edx + 0x174], ecx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
mov dword [eax + 0x64], ecx
mov edx, dword [ebp - 0x134]
mov byte [edx + 0x62], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x174]
mov dword [ebp - 0x174], ecx
cmp dword [ebp - 0x174], 4
jg 0x422185
cmp dword [ebp - 0x174], 3
jge 0x4222cd
cmp dword [ebp - 0x174], 0
jle 0x422e93
cmp dword [ebp - 0x174], 2
jle 0x42219a
jmp 0x422e93
cmp dword [ebp - 0x174], 0xb00
je 0x422992
jmp 0x422e93
mov dword [ebp - 0x1dc], 0
jmp 0x4221b5
mov edx, dword [ebp - 0x1dc]
add edx, 1
mov dword [ebp - 0x1dc], edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1dc]
cmp ecx, dword [eax + 0x44]
jge 0x4222c8
push 0x48
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x170]
push ecx
call fcn.0063be3e
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x50]
call fcn.004193d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00418f40
push eax
call fcn.0063b78e
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.00418f40
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00421420
add esp, 8
mov ecx, dword [ebp - 0x134]
add ecx, 4
mov dword [ebp - 0x258], ecx
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x258]
call fcn.00424650
lea eax, [ebp - 0x128]
cmp eax, 0x6c5e2b
jne 0x4222b7
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
push edx
call fcn.0063d25b
add esp, 4
mov eax, dword [ebp - 0x134]
mov dword [eax + 0x170], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x42228a
push str.LoadMassfile_Error__Filename_is_empty
mov ecx, dword [ebp + 0xc]
call fcn.004191c0
mov byte [ebp - 0x153], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004191e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x153]
jmp 0x422f0b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004191e0
jmp 0x4221a6
jmp 0x422eb1
mov dword [ebp - 0x144], 0
push 4
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x170]
push eax
call fcn.0063be3e
add esp, 0xc
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 4
je 0x422322
mov byte [ebp - 0x154], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x154]
jmp 0x422f0b
push 4
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x170]
push eax
call fcn.0063be3e
add esp, 0xc
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 4
je 0x42236d
mov byte [ebp - 0x155], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x155]
jmp 0x422f0b
push 4
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x170]
push eax
call fcn.0063be3e
add esp, 0xc
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 4
je 0x4223bb
mov byte [ebp - 0x14c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x14c]
jmp 0x422f0b
push 4
lea ecx, [ebp - 0x14]
call fcn.00421720
mov ecx, dword [ebp - 0x12c]
add ecx, 1
push ecx
call fcn.004eab55
add esp, 4
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041eda0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x170]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0063be3e
add esp, 0xc
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x12c]
je 0x42247a
mov byte [ebp - 0x15d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00424530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x15d]
jmp 0x422f0b
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov dword [ebp - 0x234], eax
push 0
push 0
push 0x6c6564
mov edx, dword [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call sym.KomManager.exe_xmlReadMemory
add esp, 0x14
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
push ecx
call sym.KomManager.exe_xmlDocGetRootElement
add esp, 4
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x12c]
add edx, 0x48
mov eax, dword [ebp - 0x134]
imul ecx, dword [eax + 0x44], 0x48
add ecx, 0x3c
sub edx, ecx
mov dword [ebp - 0x1e8], edx
mov edx, dword [ebp - 0x1e0]
cmp dword [edx + 4], 1
jne 0x422972
mov dword [ebp - 0x1c0], 0x6c6574
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
mov al, byte [edx]
mov byte [ebp - 0x15e], al
mov ecx, dword [ebp - 0x1c0]
cmp al, byte [ecx]
jne 0x422573
cmp byte [ebp - 0x15e], 0
je 0x422567
mov edx, dword [ebp - 0x1bc]
mov al, byte [edx + 1]
mov byte [ebp - 0x15f], al
mov ecx, dword [ebp - 0x1c0]
cmp al, byte [ecx + 1]
jne 0x422573
add dword [ebp - 0x1bc], 2
add dword [ebp - 0x1c0], 2
cmp byte [ebp - 0x15f], 0
jne 0x422515
mov dword [ebp - 0x1f8], 0
jmp 0x42257e
sbb edx, edx
or edx, 1
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x422972
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0
je 0x422972
mov eax, dword [ebp - 0x170]
cmp dword [eax + 4], 1
jne 0x42295e
mov dword [ebp - 0x1c8], 0x6c657c
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c4]
mov cl, byte [eax]
mov byte [ebp - 0x160], cl
mov edx, dword [ebp - 0x1c8]
cmp cl, byte [edx]
jne 0x42263a
cmp byte [ebp - 0x160], 0
je 0x42262e
mov eax, dword [ebp - 0x1c4]
mov cl, byte [eax + 1]
mov byte [ebp - 0x162], cl
mov edx, dword [ebp - 0x1c8]
cmp cl, byte [edx + 1]
jne 0x42263a
add dword [ebp - 0x1c4], 2
add dword [ebp - 0x1c8], 2
cmp byte [ebp - 0x162], 0
jne 0x4225dc
mov dword [ebp - 0x1fc], 0
jmp 0x422645
sbb eax, eax
or eax, 1
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x23c], ecx
cmp dword [ebp - 0x23c], 0
jne 0x42295e
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x42291f
mov dword [ebp - 0x1d0], 0x6c6584
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x1cc]
mov cl, byte [eax]
mov byte [ebp - 0x163], cl
mov edx, dword [ebp - 0x1d0]
cmp cl, byte [edx]
jne 0x4226f1
cmp byte [ebp - 0x163], 0
je 0x4226e5
mov eax, dword [ebp - 0x1cc]
mov cl, byte [eax + 1]
mov byte [ebp - 0x164], cl
mov edx, dword [ebp - 0x1d0]
cmp cl, byte [edx + 1]
jne 0x4226f1
add dword [ebp - 0x1cc], 2
add dword [ebp - 0x1d0], 2
cmp byte [ebp - 0x164], 0
jne 0x422693
mov dword [ebp - 0x200], 0
jmp 0x4226fc
sbb eax, eax
or eax, 1
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x240], ecx
cmp dword [ebp - 0x240], 0
jne 0x422796
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1e4], ecx
lea edx, [ebp - 0xe0]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x1e4]
mov dl, byte [ecx]
mov byte [ebp - 0x136], dl
mov eax, dword [ebp - 0x1d4]
mov cl, byte [ebp - 0x136]
mov byte [eax], cl
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1d4]
add eax, 1
mov dword [ebp - 0x1d4], eax
cmp byte [ebp - 0x136], 0
jne 0x42273f
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0063b78e
add esp, 4
jmp 0x42290b
mov dword [ebp - 0x180], 0x6c658c
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dl, byte [ecx]
mov byte [ebp - 0x165], dl
mov eax, dword [ebp - 0x180]
cmp dl, byte [eax]
jne 0x42280d
cmp byte [ebp - 0x165], 0
je 0x422801
mov ecx, dword [ebp - 0x17c]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x166], dl
mov eax, dword [ebp - 0x180]
cmp dl, byte [eax + 1]
jne 0x42280d
add dword [ebp - 0x17c], 2
add dword [ebp - 0x180], 2
cmp byte [ebp - 0x166], 0
jne 0x4227af
mov dword [ebp - 0x204], 0
jmp 0x422818
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x244], edx
cmp dword [ebp - 0x244], 0
jne 0x422853
lea eax, [ebp - 0xa0]
push eax
push 0x6c659c
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x28]
push eax
call fcn.00421490
add esp, 0xc
jmp 0x42290b
mov dword [ebp - 0x188], 0x6c65a0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov cl, byte [eax]
mov byte [ebp - 0x167], cl
mov edx, dword [ebp - 0x188]
cmp cl, byte [edx]
jne 0x4228ca
cmp byte [ebp - 0x167], 0
je 0x4228be
mov eax, dword [ebp - 0x184]
mov cl, byte [eax + 1]
mov byte [ebp - 0x145], cl
mov edx, dword [ebp - 0x188]
cmp cl, byte [edx + 1]
jne 0x4228ca
add dword [ebp - 0x184], 2
add dword [ebp - 0x188], 2
cmp byte [ebp - 0x145], 0
jne 0x42286c
mov dword [ebp - 0x208], 0
jmp 0x4228d5
sbb eax, eax
or eax, 1
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x248], ecx
cmp dword [ebp - 0x248], 0
jne 0x42290b
lea edx, [ebp - 0xa4]
push edx
push 0x6c65a8
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x28]
push edx
call fcn.00421490
add esp, 0xc
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x13c], ecx
jmp 0x42266d
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x1e8]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x134]
add ecx, 4
mov dword [ebp - 0x24c], ecx
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00424650
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x170], ecx
jmp 0x4225a6
mov edx, dword [ebp - 0x20c]
push edx
call sym.KomManager.exe_xmlFreeDoc
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00424530
jmp 0x422eb1
mov eax, dword [ebp - 0x134]
mov byte [eax + 0x62], 1
push 0
push 0
push str.Komfiles.xml
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x5e]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x68]
push ecx
call sym.KomManager.exe_xmlReadMemory
add esp, 0x14
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
push edx
call sym.KomManager.exe_xmlDocGetRootElement
add esp, 4
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x64]
add ecx, 4
mov dword [ebp - 0x178], ecx
movzx edx, byte [ebp - 0x146]
test edx, edx
je 0x422a08
mov eax, dword [ebp - 0x178]
add eax, 4
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x1ec]
cmp dword [ecx + 4], 1
jne 0x422e82
mov dword [ebp - 0x190], str.Files
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dl, byte [ecx]
mov byte [ebp - 0x161], dl
mov eax, dword [ebp - 0x190]
cmp dl, byte [eax]
jne 0x422a8f
cmp byte [ebp - 0x161], 0
je 0x422a83
mov ecx, dword [ebp - 0x18c]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x147], dl
mov eax, dword [ebp - 0x190]
cmp dl, byte [eax + 1]
jne 0x422a8f
add dword [ebp - 0x18c], 2
add dword [ebp - 0x190], 2
cmp byte [ebp - 0x147], 0
jne 0x422a31
mov dword [ebp - 0x210], 0
jmp 0x422a9a
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x250], 0
jne 0x422e82
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x16c], ecx
cmp dword [ebp - 0x16c], 0
je 0x422e82
mov edx, dword [ebp - 0x16c]
cmp dword [edx + 4], 1
jne 0x422e6e
mov dword [ebp - 0x198], 0x6c65c4
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
mov al, byte [edx]
mov byte [ebp - 0x148], al
mov ecx, dword [ebp - 0x198]
cmp al, byte [ecx]
jne 0x422b56
cmp byte [ebp - 0x148], 0
je 0x422b4a
mov edx, dword [ebp - 0x194]
mov al, byte [edx + 1]
mov byte [ebp - 0x149], al
mov ecx, dword [ebp - 0x198]
cmp al, byte [ecx + 1]
jne 0x422b56
add dword [ebp - 0x194], 2
add dword [ebp - 0x198], 2
cmp byte [ebp - 0x149], 0
jne 0x422af8
mov dword [ebp - 0x214], 0
jmp 0x422b61
sbb edx, edx
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x422e6e
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x140], edx
cmp dword [ebp - 0x140], 0
je 0x422e35
mov dword [ebp - 0x1a0], 0x6c65cc
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x19c]
mov al, byte [edx]
mov byte [ebp - 0x14a], al
mov ecx, dword [ebp - 0x1a0]
cmp al, byte [ecx]
jne 0x422c0d
cmp byte [ebp - 0x14a], 0
je 0x422c01
mov edx, dword [ebp - 0x19c]
mov al, byte [edx + 1]
mov byte [ebp - 0x14b], al
mov ecx, dword [ebp - 0x1a0]
cmp al, byte [ecx + 1]
jne 0x422c0d
add dword [ebp - 0x19c], 2
add dword [ebp - 0x1a0], 2
cmp byte [ebp - 0x14b], 0
jne 0x422baf
mov dword [ebp - 0x218], 0
jmp 0x422c18
sbb edx, edx
or edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x422cb2
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x1f0]
mov cl, byte [eax]
mov byte [ebp - 0x137], cl
mov edx, dword [ebp - 0x1a4]
mov al, byte [ebp - 0x137]
mov byte [edx], al
mov ecx, dword [ebp - 0x1f0]
add ecx, 1
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1a4]
add edx, 1
mov dword [ebp - 0x1a4], edx
cmp byte [ebp - 0x137], 0
jne 0x422c5b
lea eax, [ebp - 0x98]
push eax
call fcn.0063b78e
add esp, 4
jmp 0x422e21
mov dword [ebp - 0x1ac], 0x6c65d4
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
mov cl, byte [eax]
mov byte [ebp - 0x152], cl
mov edx, dword [ebp - 0x1ac]
cmp cl, byte [edx]
jne 0x422d29
cmp byte [ebp - 0x152], 0
je 0x422d1d
mov eax, dword [ebp - 0x1a8]
mov cl, byte [eax + 1]
mov byte [ebp - 0x14d], cl
mov edx, dword [ebp - 0x1ac]
cmp cl, byte [edx + 1]
jne 0x422d29
add dword [ebp - 0x1a8], 2
add dword [ebp - 0x1ac], 2
cmp byte [ebp - 0x14d], 0
jne 0x422ccb
mov dword [ebp - 0x21c], 0
jmp 0x422d34
sbb eax, eax
or eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x25c], ecx
cmp dword [ebp - 0x25c], 0
jne 0x422d6c
lea edx, [ebp - 0x5c]
push edx
push 0x6c65dc
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x28]
push edx
call fcn.00421490
add esp, 0xc
jmp 0x422e21
mov dword [ebp - 0x1b4], str.CompressedSize
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
mov al, byte [edx]
mov byte [ebp - 0x14e], al
mov ecx, dword [ebp - 0x1b4]
cmp al, byte [ecx]
jne 0x422de3
cmp byte [ebp - 0x14e], 0
je 0x422dd7
mov edx, dword [ebp - 0x1b0]
mov al, byte [edx + 1]
mov byte [ebp - 0x14f], al
mov ecx, dword [ebp - 0x1b4]
cmp al, byte [ecx + 1]
jne 0x422de3
add dword [ebp - 0x1b0], 2
add dword [ebp - 0x1b4], 2
cmp byte [ebp - 0x14f], 0
jne 0x422d85
mov dword [ebp - 0x220], 0
jmp 0x422dee
sbb edx, edx
or edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x422e21
lea ecx, [ebp - 0x58]
push ecx
push 0x6c65f0
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.00421490
add esp, 0xc
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x140], eax
jmp 0x422b89
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x178]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x134]
add eax, 4
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.00424650
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x16c], eax
jmp 0x422ac2
mov ecx, dword [ebp - 0x224]
push ecx
call sym.KomManager.exe_xmlFreeDoc
add esp, 4
jmp 0x422eb1
mov byte [ebp - 0x150], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x150]
jmp 0x422f0b
cmp dword [ebp + 0xc], 0
je 0x422ec4
push str.LoadMassfile_Error__None
mov ecx, dword [ebp + 0xc]
call fcn.004191c0
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004eab50
add esp, 4
mov edx, dword [ebp - 0x134]
mov dword [edx + 0x68], 0
mov byte [ebp - 0x151], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004191e0
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret 8