Function at 0x42f630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x5398d0]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp esi, 7
ja case.0x42f67b.0
jmp dword [esi*4 + 0x4d152c]
mov eax, dword [ebx + 0x4c]
cmp dword [ebx + 0x48], eax
je 0x42fb88
mov edi, edx
test dl, dl
je 0x42fbd0
movzx eax, cl
mov dword [ebp - 0x94], eax
test cl, cl
je 0x42f6b4
cmp dword [ebx], 1
je 0x42fa30
mov eax, dword [ebp - 0x8c]
cmp esi, 1
sete byte [ebp - 0x79]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x90]
add eax, eax
cmp esi, 1
cmovne eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x48]
cmp dword [ebx + 0x4c], eax
je 0x42f946
test dl, dl
je 0x42fc5f
mov dword [ebp - 0x70], 0
xor edi, edi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
mov dword [esp + 0xc], 0x4d1407
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 0x4d147f
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00499f70
mov ecx, edi
mov eax, dword [ebx + 0x48]
test cl, cl
je 0x42f7fe
mov edi, dword [ebp - 0x78]
mov edx, dword [edi + 0x28]
mov edi, 1
mov esi, dword [eax + edx*4]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
test esi, esi
je 0x42f812
mov eax, dword [esi + 0x34]
test eax, eax
setne al
cmp al, byte [ebp - 0x79]
jne 0x42fc2d
movzx eax, byte [ebp - 0x88]
cmp byte [ebp - 0x79], 0
mov dword [ebp - 0x84], eax
jne 0x42fa98
mov eax, dword [ebp - 0x6c]
mov dword [esp], 0x2d
mov dword [esp + 4], eax
call sub.msvcrt.dll_putc
mov eax, dword [ebp - 0x8c]
mov ecx, 1
add eax, 1
mov edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x94]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.0042f630
mov eax, edi
test al, al
je 0x42f845
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.004a9770
mov dword [ebp - 0x78], eax
mov ecx, eax
lea eax, [ebx + 0x58]
cmp ecx, eax
je 0x42f946
mov edx, dword [ebp - 0x80]
test edx, edx
jg 0x42f700
mov ecx, edi
mov eax, dword [ebx + 0x48]
test cl, cl
jne 0x42f72f
mov ecx, dword [ebp - 0x70]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
test esi, esi
jne 0x42f74b
cmp byte [ebp - 0x79], 0
jne 0x42fc50
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], 0x4d1483
call sub.msvcrt.dll_fwrite
mov eax, edi
test al, al
jne 0x42f7cb
add dword [ebp - 0x70], 1
mov eax, dword [ebx + 0x4c]
mov esi, dword [ebp - 0x70]
sub eax, dword [ebx + 0x48]
sar eax, 2
cmp esi, eax
jae 0x42f946
jmp 0x42f7e6
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
or eax, edx
mov eax, str._false_n
mov edx, str._true_n
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x5398d0]
jne 0x42fc3c
mov edi, dword [ebp - 0x6c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_fputs
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5398d0]
jne 0x42fc3c
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0xc], str.__lld_n
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00499f70
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5398d0]
jne 0x42fc3c
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0xc], str.__llu_n
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
jmp 0x42f8c2
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 4], 0x40
mov dword [esp + 8], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.0045b6a0
mov dword [esp + 4], str.__s_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00499f70
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5398d0]
jne 0x42fc3c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x6c]
mov dword [esp], 0x20
mov dword [esp + 4], eax
call sub.msvcrt.dll_putc
mov esi, dword [ebx + 0x18]
movzx eax, byte [esi]
test al, al
je 0x42fa10
mov byte [ebp - 0x70], 0x27
xor edi, edi
xor ecx, ecx
lea esi, [esi]
lea edx, [eax - 0x20]
cmp dl, 0x5e
ja 0x42fb00
mov edx, eax
and edx, 0xffffffdf
sub edx, 0x41
cmp dl, 0x19
jbe 0x42f9f0
lea edx, [eax - 0x30]
cmp dl, 9
jbe 0x42f9f0
cmp al, 0x5f
je 0x42f9f0
cmp al, 0x27
je 0x42fad0
test ecx, ecx
je 0x42f9e8
cmp al, 0x20
jne 0x42fae8
cmp byte [esi + ecx - 1], 0x3a
je 0x42f9e8
movzx eax, byte [esi + ecx + 1]
cmp al, 0x23
je 0x42f9e8
test al, al
mov eax, 1
cmove edi, eax
jmp 0x42f9f0
mov edi, 1
lea esi, [esi]
add ecx, 1
movzx eax, byte [esi + ecx]
test al, al
jne 0x42f990
mov eax, edi
test al, al
je 0x42fb38
cmp byte [ebp - 0x70], 0x27
jne 0x42fb00
nop
mov dword [esp + 8], esi
mov dword [esp + 4], str._s
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00499f70
jmp 0x42fb0a
mov eax, dword [ebx + 0x60]
cmp esi, 1
sete byte [ebp - 0x79]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x90]
add eax, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x8c]
add eax, eax
cmp esi, 1
cmove eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
lea eax, [ebx + 0x58]
cmp dword [ebp - 0x78], eax
je 0x42f946
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 1
test dl, dl
jne 0x42f700
mov eax, dword [ebp - 0x80]
mov edi, ecx
mov dword [ebp - 0x74], eax
test eax, eax
jg 0x42f700
mov eax, dword [ebx + 0x48]
jmp 0x42f72f
mov eax, dword [esi + 0x30]
mov dword [esp + 4], 0x4d1486
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00499f70
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x84]
lea edx, [eax + ecx]
add eax, 1
xor ecx, ecx
jmp 0x42f796
test ecx, ecx
mov eax, 1
mov byte [ebp - 0x70], 0x22
cmove edi, eax
jmp 0x42f9f0
cmp al, 0x3a
jne 0x42f9f0
movzx eax, byte [esi + ecx + 1]
jmp 0x42f9d9
mov eax, dword [ebp - 0x6c]
mov edx, esi
call fcn.0042eb20
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5398d0]
jne 0x42fc3c
mov eax, dword [ebp - 0x6c]
mov dword [ebp + 8], 0xa
mov dword [ebp + 0xc], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_putc
movzx eax, byte [0x5265a0]
test al, al
jne 0x42fb57
mov dword [esp], 0x5265a0
call fcn.004ab560
test eax, eax
jne 0x42fbfc
mov dword [esp], esi
mov ecx, 0x5265c0
call fcn.0045a630
sub esp, 4
test al, al
jne 0x42fbf4
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
jmp 0x42fb0a
cmp esi, 1
mov eax, 0x4d146c
mov edx, 0x4d1468
cmove eax, edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x5398d0]
jne 0x42fc3c
mov ebx, dword [ebp - 0x6c]
mov dword [ebp + 0x10], 3
mov dword [ebp + 0xc], 1
mov dword [ebp + 0x14], ebx
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], ecx
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
jmp 0x42f69e
mov esi, dword [ebx + 0x18]
jmp 0x42fa05
mov dword [esp], str._0_9___0_9__._0_9_____eE______0_9___0x_0_7A_Fa_f__Ff__Aa__Ll__Ss__Ee__Tt__Rr__Uu__Ee__Nn__Oo__Yy__Ee__Ss__Nn__Uu__Ll__Ll_
mov ecx, 0x5265c0
call fcn.0045b100
sub esp, 4
mov dword [esp], 0x42e850
call fcn.004014c0
mov dword [esp], 0x5265a0
call fcn.004ab620
jmp 0x42fb57
mov edx, str.is_obj___p2__key.empty__
mov eax, 0x255
call fcn.0042e7d0
call fcn.00485600
mov edx, 0x4d13ff
mov eax, 0x283
call fcn.0042e7d0
mov edx, str._is_obj
mov eax, 0x251
call fcn.0042e7d0
mov eax, dword [ebp - 0x80]
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
jmp 0x42f7e6