Function at 0x4260f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x4b78a0]
push ebx
mov ebx, dword [ebp + 8]
cmp dword [eax], 0xffffffff
je 0x426119
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004575a0
cmp dword [0x49d218], 2
jne 0x426126
xor eax, eax
call eax
cmp dword [ebp + 0xc], 4
jne 0x42613a
mov ecx, dword [0x49d92c]
mov dword [0x49d9c0], ecx
jmp 0x426140
mov dword [0x49d9c0], ebx
mov eax, dword [0x49d934]
test eax, eax
je 0x42618c
cmp eax, 0xffffffff
jne 0x426156
push 0x20
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.00425960
mov edx, dword [0x49d934]
mov eax, dword [0x4b4898]
push edx
push 0x499ae8
push str._s:_Fatal_Error_while_attempting_to_process_error__d_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
push 0x20
mov dword [0x49d934], 0xffffffff
call fcn.0043ff30
add esp, 0x14
mov al, byte [0x49d9c8]
mov dword [0x49d934], ebx
test al, 3
je 0x4261c2
mov eax, dword [0x4b49e8]
test eax, eax
je 0x4261c2
mov ecx, dword [0x49f814]
push ebx
push ecx
call fcn.004267a0
add esp, 8
test eax, eax
je 0x4261c2
or dword [0x49d9c8], 0x4000000
push esi
mov esi, dword [0x49d41c]
push edi
xor edi, edi
test esi, esi
mov dword [ebp - 0xc], esi
je 0x426200
mov eax, dword [0x4b5044]
mov edi, dword [esi + 8]
test eax, eax
je 0x426200
test byte [edi + 0x30], 3
jne 0x426200
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
push ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp ecx, 4
sete dl
push edx
push ebx
push esi
call eax
add esp, 0x14
mov eax, dword [0x49d9c8]
and eax, 0x800
mov dword [ebp - 0x10], eax
je 0x426233
push 0x4267e0
push 1
mov dword [0x49f818], ebx
mov dword [0x49f820], 0
call dword [0x49f824]
add esp, 8
test eax, eax
je 0x42624f
call fcn.00443c40
push 1
mov dword [0x49f654], ebx
call fcn.00425860
add esp, 4
xor esi, esi
mov dword [ebp - 4], esi
jmp 0x426252
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 4
ja case.default.0x42625b
jmp dword [eax*4 + 0x4265d8]
push 6
jmp 0x42627e
push 7
jmp 0x42627e
push 8
jmp 0x42627e
cmp dword [ebp + 0x18], 0xffffffff
jne 0x426278
push 9
jmp 0x42627e
push 0x10
jmp 0x42627e
push 5
call fcn.00445830
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp eax, 4
jne 0x426336
mov eax, ebx
sar eax, 8
cmp al, 0x39
mov byte [ebp - 8], al
jne 0x4262e4
test byte [0x49d271], 1
jne 0x4262e4
test edi, edi
je 0x4262b4
test byte [edi + 0x2b], 0x10
jne 0x4262e4
push 0xa
call fcn.00445830
add esp, 4
test eax, eax
je 0x4262dc
mov ecx, ebx
lea edx, [ebp - 0x1f4]
and ecx, 0xff
push ecx
push eax
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
and ebx, 0xff
jmp 0x426356
test edi, edi
je 0x4262fe
test byte [edi + 0x2a], 4
je 0x4262fe
push 0x16
call fcn.00445830
add esp, 4
test eax, eax
je 0x42632e
jmp 0x42630c
push 0xb
call fcn.00445830
add esp, 4
test eax, eax
je 0x42632e
mov ecx, dword [ebp - 8]
and ebx, 0xff
and ecx, 0xff
push ebx
push ecx
lea edx, [ebp - 0x1f4]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov ebx, dword [0x49d92c]
jmp 0x426356
push 0xc
call fcn.00445830
add esp, 4
test eax, eax
je 0x426356
push ebx
push eax
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
test edi, edi
je 0x4263ac
test byte [edi + 0x30], 3
jne 0x426392
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov edx, dword [ecx + 0x18]
mov al, byte [edx + 0x34]
test eax, eax
mov dword [ebp - 4], eax
je 0x426382
mov eax, dword [edi + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x44]
mov esi, dword [ecx + 0x20]
sub esi, eax
jmp 0x4263ac
mov edx, dword [edi + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [edx + 0x40]
mov esi, dword [ecx + 0x20]
sub esi, eax
jmp 0x4263ac
cmp dword [ebp + 0xc], 5
jne 0x4263a3
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 4], edx
jmp 0x4263ac
mov dword [ebp - 4], 0
xor esi, esi
mov ecx, dword [0x4b49e8]
mov edi, dword [ebp + 0x14]
test ecx, ecx
je 0x4263d7
test edi, edi
mov eax, edi
jne 0x4263c2
mov eax, dword [ebp + 0x10]
push 0
push 0xff
push 0
push eax
push ebx
push 0x209
call ecx
add esp, 0x18
mov eax, dword [0x4b4880]
test eax, eax
je 0x426416
mov eax, dword [0x4b4888]
test eax, eax
jne 0x42640c
mov ecx, dword [0x4b489c]
push 1
xor edx, edx
call fcn.004533c0
mov dword [0x4b4884], 0
mov dword [0x4b4888], 1
mov dword [0x4b4880], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x42643a
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x1f4]
push ecx
mov ecx, dword [ebp + 0x10]
push 1
push esi
push edx
push ecx
push eax
push 0xd
call fcn.00426680
add esp, 0x1c
test ebx, ebx
je 0x426484
mov eax, dword [0x4b5008]
test eax, eax
je 0x426484
lea edx, [ebp - 0x3d8]
push edx
push ebx
call eax
add esp, 8
test eax, eax
je 0x426471
lea eax, [ebp - 0x3d8]
push eax
push 0xe
call fcn.00426680
mov edx, dword [0x4b489c]
add esp, 8
jmp 0x4264af
push ebx
push 0xf
call fcn.00426680
mov edx, dword [0x4b489c]
add esp, 8
jmp 0x4264af
mov edx, dword [0x4b489c]
test edx, edx
je 0x426516
test edi, edi
jne 0x4264af
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebp + 0x14]
not ecx
dec ecx
mov byte [ecx + edx - 1], al
mov edx, dword [0x4b489c]
test edx, edx
je 0x426516
test edi, edi
je 0x426516
mov esi, dword [0x4b4890]
mov eax, dword [0x4b4884]
mov edi, dword [ebp + 0x14]
sub esi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, esi
jae 0x4264f8
mov esi, dword [ebp + 0x14]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
mov eax, dword [0x4b4884]
not ecx
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x426510
mov ecx, dword [0x4b4884]
mov eax, dword [ebp + 0x14]
push 1
push esi
add ecx, edx
push eax
push ecx
call fcn.004521e0
add esp, 0x10
mov edx, dword [0x4b489c]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [0x49d934], 0
repne scasb al, byte es:[edi]
mov esi, dword [ebp - 0x10]
mov eax, ebx
not ecx
dec ecx
sar eax, 8
mov byte [edx + ecx + 1], al
mov edx, dword [0x4b489c]
test esi, esi
mov byte [edx + ecx + 2], bl
je 0x426564
mov eax, dword [0x4b489c]
push 0x4267e0
push 2
mov dword [0x49f820], eax
call dword [0x49f824]
add esp, 8
test eax, eax
je 0x4265a2
mov ecx, dword [0x4b489c]
push ecx
push 0
push 0x1b00
push 0x4b4894
call fcn.00456540
mov ecx, dword [0x4b489c]
add esp, 0x10
xor edx, edx
mov dword [0x4b4888], 1
push 1
call fcn.004533c0
mov dword [0x4b4884], 0
pop edi
test esi, esi
pop esi
je 0x4265c8
mov edx, dword [0x4b489c]
push 0x4267e0
push 3
mov dword [0x49f820], edx
call dword [0x49f824]
add esp, 8
test eax, eax
je 0x4265d2
push 0x20
call fcn.0043ff30
add esp, 4
pop ebx
mov esp, ebp
pop ebp
ret