Function at 0x409fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov ebx, dword [ecx + 0x10]
cmp byte [0x4e0196], 0
je 0x409ff0
mov eax, ebx
and eax, 5
je 0x40a3fb
mov dword [ebp - 0x3c], edx
mov edi, dword [ecx]
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x14], 0
mov eax, 0
cmp edx, 0xffffffff
je 0x40a02e
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x28]
mov edx, dword [esi + edx*4]
cmp byte [eax + edx], 0
js 0x40a403
add eax, edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [ecx + eax*8 + 2]
cmp edx, 0xffff
je 0x40a06a
mov esi, dword [edi + 0x2c]
mov edx, dword [esi + edx*4]
cmp edx, 0xffffffff
je 0x40a06a
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x28]
mov edx, dword [esi + edx*4]
cmp byte [eax + edx], 0
js 0x40a413
add eax, edx
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [ecx + eax*8]
xor edx, edx
cmp eax, 0xffff
je 0x40a09a
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + eax*4]
cmp eax, 0xffffffff
je 0x40a09a
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx + eax*4]
cmp byte [edx + eax], 0
js 0x40a423
add edx, eax
add edx, 1
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], edi
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*4]
add ecx, eax
or ecx, 1
mov edi, 0xffffffb8
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
jmp 0x40a11a
push eax
push dword [ebp - 0x40]
push esi
mov dword [ebp - 0x10], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add esi, dword [ebp - 0x10]
shr ebx, 1
add edi, 4
je 0x40a14b
test bl, 1
je 0x40a113
mov eax, dword [edi + str.PUBLIC]
mov dword [ebp - 0x40], eax
push eax
mov dword [ebp - 0x10], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x18]
mov esi, ecx
cmp dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
je 0x40a100
mov byte [ecx], 0x20
add ecx, 1
mov esi, ecx
jmp 0x40a100
mov byte [esi], 0
mov eax, dword [0x4e01a0]
cmp eax, 1
je 0x40a1f5
test eax, eax
mov ebx, dword [ebp - 0x24]
jne 0x40a3f0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
push str._____d______________:__in__s__n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0x10
push dword [ebp - 0x1c]
push str.______name__________:__s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
push dword [ebp - 0x14]
push str.______type__________:__s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push str.______access________:_0x_04x___s__n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0x10
test esi, esi
je 0x40a39f
mov edi, dword [0x4e01a8]
lea ecx, [ebp - 0x30]
mov edx, esi
call fcn.0040da10
test byte [ebp - 0x30], 1
je 0x40a37b
mov eax, dword [ebp - 0x28]
jmp 0x40a37e
push dword [ebp - 0x1c]
push str._field_name__s__n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
call fcn.00409b50
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
push eax
push str._type__s__n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
mov ebx, dword [ebp - 0x20]
test bl, 0x80
mov esi, str._false_
mov edi, str._true_
mov eax, str._true_
cmove eax, esi
push eax
push str._transient_s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
test bl, 0x40
mov eax, str._true_
cmove eax, esi
push eax
push str._volatile_s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
test bl, 8
mov eax, str._true_
cmove eax, esi
push eax
push str._static_s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
test bl, 0x10
cmove edi, esi
push edi
push str._final_s_n
push dword [0x4e01a8]
call fcn.00410d00
add esp, 0xc
mov eax, dword [0x4e01a8]
mov ecx, str._public_
test bl, 1
jne 0x40a2e4
mov ecx, str._protected_
test bl, 4
jne 0x40a2e4
test bl, 2
mov edx, str._package_
mov ecx, str._private_
cmove ecx, edx
push ecx
push str._visibility_s_n
push eax
call fcn.00410d00
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
mov ebx, dword [ebp - 0x24]
je 0x40a34e
push dword [0x4e01a8]
push 1
push 8
push str._value_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
movzx eax, byte [eax]
mov ecx, eax
shr cl, 5
and eax, 0x1f
movzx edi, cl
mov ecx, ebx
mov edx, esi
push edi
push eax
call fcn.0040ae90
add esp, 8
push dword [0x4e01a8]
push 1
push 2
push 0x4c7a12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push dword [0x4e01a8]
push 1
push 0xb
push str.__n__field__n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40a3f0
push eax
call fcn.0046a9c0
add esp, 4
jmp 0x40a3f0
lea eax, [ebp - 0x2f]
push eax
push esi
push str.______hiddenapi_____:_0x_04x___s__n
push edi
call fcn.00410d00
add esp, 0x10
test byte [ebp - 0x30], 1
je 0x40a39f
push dword [ebp - 0x28]
call fcn.0046a990
add esp, 4
cmp dword [ebp + 8], 0
je 0x40a3f0
push dword [0x4e01a8]
push 1
push 0x16
push str.______value_________:
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [eax + 1]
mov dword [edx], ecx
movzx eax, byte [eax]
mov ecx, eax
shr cl, 5
and eax, 0x1f
movzx esi, cl
mov ecx, ebx
push esi
push eax
call fcn.0040ae90
add esp, 8
push dword [0x4e01a8]
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push dword [ebp - 0x18]
call fcn.00473f10
add esp, 4
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
add eax, edx
cmp byte [eax + 1], 0
js 0x40a433
add eax, 2
jmp 0x40a02e
add eax, edx
cmp byte [eax + 1], 0
js 0x40a445
add eax, 2
jmp 0x40a064
add edx, eax
cmp byte [edx + 1], 0
js 0x40a457
add edx, 2
jmp 0x40a09a
mov edx, eax
cmp byte [eax + 2], 0
js 0x40a469
mov eax, edx
add eax, 3
jmp 0x40a02e
mov dword [ebp - 0x14], eax
cmp byte [eax + 2], 0
js 0x40a47e
add dword [ebp - 0x14], 3
jmp 0x40a067
mov eax, edx
cmp byte [edx + 2], 0
js 0x40a494
mov edx, eax
add edx, 3
jmp 0x40a09a
mov eax, edx
mov dl, byte [edx + 3]
shr dl, 7
movzx edx, dl
add eax, edx
add eax, 4
jmp 0x40a02e
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + 3]
shr dl, 7
movzx edx, dl
add eax, edx
add eax, 4
jmp 0x40a064
mov edx, eax
mov al, byte [eax + 3]
shr al, 7
movzx eax, al
add edx, eax
add edx, 4
jmp 0x40a09a