Function at 0x10007a21
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1002b060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1002c314]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x10031464]
movzx eax, word [eax + 4]
mov ecx, 0xfa2
xor ebx, ebx
mov dword [ebp - 0x420], edi
cmp ax, cx
je 0x10007a64
mov ecx, 0x138a
cmp ax, cx
jne 0x10007ab2
mov dword [0x1003172c], ebx
call dword [0x100311b0]
push 0x96
push ebx
mov esi, 0x1002dd88
push esi
mov dword [0x1002c444], eax
call fcn.10011d50
push edi
push dword [0x1002c1a4]
push esi
call fcn.10013960
push str.unicom
push esi
call fcn.10014970
add esp, 0x20
test eax, eax
jne 0x10007ab2
push 0x10023898
push esi
call fcn.10013a90
pop ecx
pop ecx
mov eax, dword [0x10031464]
movzx eax, word [eax + 4]
mov ecx, 0xfa4
cmp ax, cx
je 0x10007ad3
mov ecx, 0x138c
cmp ax, cx
jne 0x1000801e
push 0x32
push ebx
mov esi, 0x1002c1a8
push esi
call fcn.10011d50
push 0x10
push ebx
mov edi, 0x1002f428
push edi
call fcn.10015561
add esp, 0x18
cmp eax, 1
jne 0x10007b04
push 0x10023894
push esi
call fcn.10013a90
pop ecx
pop ecx
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 3
jne 0x10007b22
push str.werr
push esi
call fcn.10013a90
pop ecx
pop ecx
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 4
jne 0x10007b40
push str.gerr
push esi
call fcn.10013a90
pop ecx
pop ecx
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 5
jne 0x10007b5e
push 0x10023880
push esi
call fcn.10013a90
pop ecx
pop ecx
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 2
jne 0x10007b7c
push 0x1002387c
push esi
call fcn.10013a90
pop ecx
pop ecx
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 2
je 0x10007f75
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 5
je 0x10007f75
push 0x14
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.10011d50
push 0x400
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.10011d50
push 0x100228fc
push str..DataMirUpdater.dat
call fcn.1001401f
add esp, 0x20
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x10007c31
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 4
lea eax, [ebp - 0x18]
jne 0x10007bfb
push str.lastmir3groupid
jmp 0x10007c00
push str.lastgroupid
push eax
call fcn.10013a90
pop ecx
pop ecx
push dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
push 1
push 0x3ff
push eax
call fcn.10013f46
push dword [ebp - 0x41c]
call fcn.10013c88
add esp, 0x14
jmp 0x10007c81
push 0x100228fc
push str.user.ini
call fcn.1001401f
pop ecx
pop ecx
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x10007c81
lea eax, [ebp - 0x18]
push str.lastgroup
push eax
call fcn.10013a90
push dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
push 1
push 0x3ff
push eax
call fcn.10013f46
push dword [ebp - 0x41c]
call fcn.10013c88
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
call fcn.10013b90
pop ecx
cmp eax, 1
jbe 0x10007f75
lea eax, [ebp - 0x418]
push eax
call fcn.10021bb5
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0x10
cmp eax, 1
jne 0x10007e55
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10013760
pop ecx
pop ecx
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x10007e55
push 0x10023824
push eax
call fcn.10013760
pop ecx
pop ecx
cmp eax, ebx
je 0x10007e55
push 0x32
push ebx
push esi
mov byte [eax], bl
call fcn.10011d50
add esp, 0xc
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10013b90
add eax, dword [ebp - 0x41c]
pop ecx
push eax
push esi
call fcn.10013960
push esi
call fcn.1001492a
add esp, 0x10
mov dword [ebp - 0x41c], eax
cmp eax, 0x2f
jge 0x10007d44
push 0x32
push ebx
push esi
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
inc eax
push eax
push 0x10023820
push esi
call fcn.100137e6
add esp, 0x18
cmp dword [ebp - 0x41c], 0x2f
jne 0x10007d64
push 0x32
push ebx
push esi
call fcn.10011d50
push 0x1002381c
push esi
call fcn.10013a90
add esp, 0x14
mov eax, dword [ebp - 0x41c]
add eax, 0xffffffd0
cmp eax, 5
ja 0x10007d8f
push 0x32
push ebx
push esi
call fcn.10011d50
push dword [ebp - 0x41c]
push 0x10023820
push esi
call fcn.100137e6
add esp, 0x18
mov eax, dword [ebp - 0x41c]
add eax, 0xffffffca
cmp eax, 0x11
ja 0x10007dbc
push 0x32
push ebx
push esi
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
inc eax
push eax
push 0x10023820
push esi
call fcn.100137e6
add esp, 0x18
mov eax, dword [ebp - 0x41c]
add eax, 0xffffffb8
cmp eax, 0x18
ja 0x10007deb
push 0x32
push ebx
push esi
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
add eax, 3
push eax
push 0x10023820
push esi
call fcn.100137e6
add esp, 0x18
cmp dword [ebp - 0x41c], 0x61
jne 0x10007e0b
push 0x32
push ebx
push esi
call fcn.10011d50
push 0x10023818
push esi
call fcn.10013a90
add esp, 0x14
cmp dword [ebp - 0x41c], 0x62
jne 0x10007e32
push 0x32
push ebx
push esi
call fcn.10011d50
push str.hdzq
push esi
call fcn.10013a90
add esp, 0x14
cmp dword [ebp - 0x41c], 0x62
jle 0x10007e55
push 0x32
push ebx
push esi
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
add eax, 2
push eax
push 0x10023820
push esi
call fcn.100137e6
add esp, 0x18
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 3
jne 0x10007ee5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10013760
pop ecx
pop ecx
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x10007ee5
push 0x10023824
push eax
call fcn.10013760
pop ecx
pop ecx
cmp eax, ebx
je 0x10007ee5
push 0x32
push ebx
push esi
mov byte [eax], bl
call fcn.10011d50
add esp, 0xc
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10013b90
add eax, dword [ebp - 0x41c]
pop ecx
push eax
push esi
call fcn.10013960
push esi
call fcn.1001492a
push 0x32
push ebx
push esi
mov dword [ebp - 0x41c], eax
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
inc eax
push eax
push 0x1002380c
push esi
call fcn.100137e6
add esp, 0x28
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0xc
cmp eax, 4
jne 0x10007f75
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10013760
pop ecx
pop ecx
mov dword [ebp - 0x41c], eax
cmp eax, ebx
je 0x10007f75
push 0x10023824
push eax
call fcn.10013760
pop ecx
pop ecx
cmp eax, ebx
je 0x10007f75
push 0x32
push ebx
push esi
mov byte [eax], bl
call fcn.10011d50
add esp, 0xc
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.10013b90
add eax, dword [ebp - 0x41c]
pop ecx
push eax
push esi
call fcn.10013960
push esi
call fcn.1001492a
push 0x32
push ebx
push esi
mov dword [ebp - 0x41c], eax
call fcn.10011d50
mov eax, dword [ebp - 0x41c]
inc eax
push eax
push 0x10023808
push esi
call fcn.100137e6
add esp, 0x28
push 0x96
push ebx
mov esi, 0x10031118
push esi
call fcn.10011d50
push dword [ebp - 0x420]
push dword [0x1002c1a4]
push esi
call fcn.10011dd0
push 0x96
push ebx
push 0x1002df20
call fcn.10011d50
push esi
call fcn.10013b90
mov ecx, eax
mov eax, dword [ebp - 0x420]
add esp, 0x28
sub eax, ecx
dec eax
push eax
push esi
call fcn.10013b90
pop ecx
add eax, 0x10031119
push eax
push 0x1002df20
call fcn.10013960
push 0x10
push ebx
push edi
call fcn.10015561
add esp, 0x18
cmp eax, 3
jne 0x10007ffc
push 0x10
push ebx
push 0x1002f478
call fcn.10015561
mov eax, dword [eax]
add esp, 0xc
mov dword [0x100310d4], eax
push ebx
push ebx
push ebx
push 0x10006cc2
push ebx
push ebx
call dword [0x1002c75c]
push eax
call dword [0x1003108c]
push 0x100310e0
call fcn.10001045
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001386a
leave
ret