Function at 0x624860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x50]
mov eax, dword [eax + ebx*4]
mov dword [ebp + 8], eax
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
inc eax
add eax, edx
cmp edi, eax
ja 0x624b53
mov eax, dword [ebp + 8]
sub edi, ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x28], 0
jne 0x6248ad
xor eax, eax
cmp edi, 1
pop edi
setne al
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi - 1]
mov dword [ebp + 8], eax
test eax, eax
jle 0x6248d6
mov edi, eax
nop dword [eax]
mov al, byte [ecx]
lea edx, [edx + 1]
mov byte [edx - 1], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x6248c0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + ebx*4]
lea edx, [ecx + ebx*4]
cmp dword [edi + 0x2c], 2
jne 0x6248fa
mov dword [esi + 0x1c], 0
mov eax, dword [edx]
mov dword [eax + 0x10], 0
jmp 0x6249f6
mov edi, dword [edi + 0xc]
sub edi, eax
sub edi, 1
jne 0x624964
mov edx, dword [esi + 0x24]
mov edi, dword [ecx + ebx*4]
mov ebx, dword [edi + 4]
sub edx, ebx
cmp dword [edi + 0x14], 0
mov dword [ebp - 8], edx
je 0x624b5e
mov ecx, dword [edi + 0xc]
lea eax, [ecx + ecx]
test eax, eax
jne 0x62492d
mov eax, ecx
shr eax, 3
add eax, ecx
mov dword [edi + 0xc], eax
add eax, 2
push eax
push ebx
call fcn.0064f219
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x624b65
mov edx, dword [ebp - 8]
mov ebx, dword [esi + 0xc]
add edx, eax
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x24], edx
mov eax, dword [ecx + ebx*4]
mov edi, dword [eax + 0xc]
sub edi, dword [ebp + 8]
sub edi, 1
je 0x624907
mov eax, 0x2000
cmp edi, eax
cmova edi, eax
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 0x18], 0
je 0x624a23
xor ebx, ebx
test edi, edi
je 0x6249e4
push dword [esi + 4]
call fcn.0065be40
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x6249d1
cmp eax, 0xa
je 0x6249b8
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 8]
add eax, ebx
inc ebx
mov byte [eax + edx - 1], cl
cmp ebx, edi
jb 0x624981
jmp 0x6249e4
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, ebx
inc ebx
mov byte [eax + ecx - 1], 0xa
jmp 0x6249e4
push dword [esi + 4]
call fcn.006645ce
add esp, 4
test eax, eax
jne 0x624b70
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x1c]
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x624ac4
test ebx, ebx
jne 0x624aae
push esi
push dword [esi + 4]
lea edi, [ecx + 1]
call fcn.00624780
mov ecx, dword [esi + 0x1c]
add esp, 8
jmp 0x624ac6
call fcn.0065c274
mov ebx, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi + 4]
push edi
mov eax, dword [eax + ecx*4]
push 1
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.006543dc
add esp, 0x10
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x6249e7
push dword [esi + 4]
call fcn.006645ce
add esp, 4
test eax, eax
je 0x6249e7
call fcn.0065c274
cmp dword [eax], 4
jne 0x624b70
call fcn.0065c274
mov dword [eax], 0
push dword [esi + 4]
call fcn.0066451e
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi + 4]
push edi
mov eax, dword [eax + ecx*4]
push 1
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.006543dc
add esp, 0x14
mov dword [esi + 0x1c], eax
test eax, eax
je 0x624a55
jmp 0x6249e7
mov ecx, dword [esi + 0xc]
mov edi, 2
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x2c], edi
mov ecx, dword [esi + 0x1c]
jmp 0x624ac6
xor edi, edi
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov edx, dword [edx + eax*4]
lea eax, [ecx + ebx]
mov dword [ebp + 8], edx
cmp eax, dword [edx + 0xc]
mov edx, ecx
jbe 0x624b11
mov eax, ecx
shr eax, 1
add eax, ecx
add eax, ebx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call fcn.0064f219
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 4], 0
je 0x624b7b
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
lea ecx, [edx + ebx]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 4]
mov byte [ecx + eax], 0
mov eax, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
pop edi
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
mov byte [edx + ecx + 1], 0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x50], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.00624830
mov dword [edi + 4], 0
push esi
push str.fatal_error___scanner_input_buffer_overflow
call fcn.00624830
push esi
push str.input_in_flex_scanner_failed
call fcn.00624830
push esi
push str.out_of_dynamic_memory_in_yy_get_next_buffer__
call fcn.00624830
int3