Function at 0x41afdb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xe4
mov dword [ebp - 0x2c], 0
mov dword [esp + 4], 0x50
mov dword [esp], 1
call fcn.00447773
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b032
mov dword [esp], str.Checking_for_Metalink_in_HTTP_response_n
call fcn.004232e5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x41b053
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
mov dword [esp], eax
call fcn.004477e1
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
jmp 0x41b06d
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0042f3e1
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.00447773
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x48], edx
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.00447773
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x40], edx
mov dword [ebp - 0x18], 0
jmp 0x41b88d
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
jmp 0x41b0d2
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x70]
sub eax, 1
cmp eax, dword [ebp - 0x20]
jbe 0x41b0f2
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.0043eb7e
test al, al
jne 0x41b0ce
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x41b101
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x70]
sub eax, 1
cmp eax, dword [ebp - 0x24]
jbe 0x41b116
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp al, 0x3e
jne 0x41b0fd
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x20], eax
jae 0x41b13a
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x24], eax
jae 0x41b13a
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
cmp al, 0x3c
jne 0x41b13a
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp al, 0x3e
je 0x41b15e
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b159
mov dword [esp], str.This_is_not_a_valid_Link_header._Ignoring._n
call fcn.004232e5
jmp 0x41b889
jmp 0x41b889
add dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x74]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x65858c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0043a3c0
xor eax, 1
test al, al
je 0x41b1c4
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b1bf
mov dword [esp], str.No_rel_value_in_Link_header__skipping._n
call fcn.004232e5
jmp 0x41b889
jmp 0x41b889
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.00447838
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b1fa
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], str.URL_s_n
call fcn.004232e5
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b21b
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.rel_s_n
call fcn.004232e5
cmp dword [ebp - 0x14], 0
jne 0x41b554
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], str.describedby
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41b554
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6585d4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0043a3c0
test al, al
je 0x41b554
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], str.application_pgp_signature
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41b554
mov eax, dword [0x6ef510]
mov dword [ebp - 0x3c], eax
movzx eax, byte [0x6ef500]
mov byte [ebp - 0x3d], al
call sub.msvcrt.dll_tmpfile
mov dword [0x6ef510], eax
mov eax, dword [0x6ef510]
test eax, eax
je 0x41b52a
call fcn.0043993b
mov dword [ebp - 0x44], eax
mov eax, dword [0x6ef4d0]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00439a99
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x44]
mov dword [esp + 8], eax
lea eax, [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0042dead
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x41b354
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0042e599
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.When_downloading_signature:_n_s:__s._n
mov dword [esp], 1
call fcn.004231f5
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00439a33
jmp 0x41b51b
movzx eax, byte [0x6ef2fc]
mov byte [ebp - 0x4d], al
mov byte [0x6ef2fc], 0
mov dword [esp + 0x20], 0
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.0042c0ce
mov dword [ebp - 0x54], eax
movzx eax, byte [ebp - 0x4d]
mov byte [0x6ef2fc], al
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.0042eb58
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00439a33
cmp dword [ebp - 0x54], 0x19
jne 0x41b51b
mov eax, dword [0x6ef510]
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov eax, dword [0x6ef510]
mov dword [esp], eax
call sub.msvcrt.dll_ftell
mov dword [ebp - 0x58], eax
mov eax, dword [0x6ef510]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b445
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], str.siglen_lu_n
call fcn.004232e5
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [esp], eax
call fcn.004476ac
mov dword [ebp - 0x80], eax
mov edx, dword [0x6ef510]
mov eax, dword [ebp - 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x58]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, 1
je 0x41b4a7
mov dword [esp + 4], str.Unable_to_read_signature_content_from_temporary_file._Skipping._n
mov dword [esp], 1
call fcn.00422ed8
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0x80], 0
jmp 0x41b51b
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x58]
add eax, edx
mov byte [eax], 0
mov dword [esp], str.application_pgp_signature
call fcn.004477e1
mov dword [ebp - 0x84], eax
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b4ef
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Signature___s_:_n_s_n
call fcn.004232e5
mov dword [esp], 8
call fcn.004476ac
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [ebp - 0x14], 1
mov eax, dword [0x6ef510]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
jmp 0x41b53e
mov dword [esp + 4], str.Could_not_create_temporary_file._Skipping_signature_download._n
mov dword [esp], 1
call fcn.00422ed8
movzx eax, byte [ebp - 0x3d]
mov byte [0x6ef500], al
mov eax, dword [ebp - 0x3c]
mov dword [0x6ef510], eax
jmp 0x41b853
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], str.duplicate
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41b839
mov ecx, 0
mov eax, 0x18
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x9c], ecx
add eax, 4
cmp eax, edx
jb 0x41b583
mov dword [ebp - 0x8c], 0xf423f
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0xa0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6586c9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0043a3c0
test al, al
je 0x41b659
mov eax, dword [ebp - 0xa0]
mov dword [esp + 8], 0xa
lea edx, [ebp - 0xa4]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebx + eax]
mov eax, dword [ebp - 0xa4]
cmp edx, eax
jne 0x41b61a
cmp dword [ebp - 0x5c], 0
jle 0x41b61a
cmp dword [ebp - 0x5c], 0xf423f
jle 0x41b638
mov dword [esp + 8], 0xf423f
mov dword [esp + 4], str.Invalid_pri_value._Assuming__d._n
mov dword [esp], 1
call fcn.004231f5
jmp 0x41b641
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0042da1e
cmp eax, 1
je 0x41b68e
cmp eax, 1
jb 0x41b67a
cmp eax, 2
je 0x41b6b6
cmp eax, 3
je 0x41b6a2
jmp 0x41b6ca
mov dword [esp], 0x6586f1
call fcn.004477e1
mov dword [ebp - 0x98], eax
jmp 0x41b6eb
mov dword [esp], 0x6586f6
call fcn.004477e1
mov dword [ebp - 0x98], eax
jmp 0x41b6eb
mov dword [esp], 0x6586fc
call fcn.004477e1
mov dword [ebp - 0x98], eax
jmp 0x41b6eb
mov dword [esp], 0x658701
call fcn.004477e1
mov dword [ebp - 0x98], eax
jmp 0x41b6eb
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b6eb
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], str.Unsupported_url_scheme_in__s._Skipping_resource._n
call fcn.004232e5
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x41b837
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b71d
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov dword [esp], str.TYPE_s_n
call fcn.004232e5
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x9c]
add edx, 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x658743
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0043a3c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], str.pref
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0043a565
test al, al
je 0x41b7a0
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b796
mov dword [esp], str.This_resource_has_preference_n
call fcn.004232e5
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0xc]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004476d6
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp + 4], 0x18
mov dword [esp], 1
call fcn.00447773
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0x9c]
mov dword [eax], edx
mov edx, dword [ebp - 0x98]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x94]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x90]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x88]
mov dword [eax + 0x14], edx
add dword [ebp - 0xc], 1
jmp 0x41b853
jmp 0x41b853
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b853
mov dword [esp], str.This_link_header_was_not_used_for_Metalink_n
call fcn.004232e5
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0x74], 0
add dword [ebp - 0x18], 1
lea eax, [ebp - 0x70]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Link
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00417af7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41b0b1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
shl edx, 2
add eax, edx
mov dword [eax], 0
cmp dword [ebp - 0xc], 0
jne 0x41b900
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x41b8fb
mov dword [esp], str.No_valid_metalink_references_found._n
call fcn.004232e5
jmp 0x41bbba
jmp 0x41bbba
mov dword [ebp - 0x18], 0
jmp 0x41ba81
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
jmp 0x41ba4a
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov eax, edx
add eax, eax
add eax, edx
shr eax, 2
add eax, 1
lea edx, [eax + 0xf]
mov eax, 0x10
sub eax, 1
add eax, edx
mov ebx, 0x10
mov edx, 0
div ebx
imul eax, eax, 0x10
call fcn.00625290
sub esp, eax
lea eax, [esp + 0x24]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0x64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043845d
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x10]
add eax, 2
lea edx, [eax*4]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004476d6
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
shl edx, 2
lea ebx, [eax + edx]
mov dword [esp], 8
call fcn.004476ac
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xa8]
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
shl edx, 2
add eax, edx
mov ebx, dword [eax]
mov eax, dword [ebp - 0x68]
add eax, eax
add eax, 1
mov dword [esp], eax
call fcn.004476ac
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438d1c
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.006324d0
mov dword [ebp - 0xac], 0
add dword [ebp - 0x10], 1
add dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0xac]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0xa8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0043a667
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41b917
add dword [ebp - 0x18], 1
lea eax, [ebp - 0x70]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Digest
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00417af7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41b90c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
shl edx, 2
add eax, edx
mov dword [eax], 0
cmp dword [ebp - 0x10], 0
jne 0x41bae9
mov dword [esp + 4], str.Could_not_find_acceptable_digest_for_Metalink_resources._nIgnoring_them._n
mov dword [esp], 0
call fcn.00422ed8
jmp 0x41bbba
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov dword [esp + 0xc], 0x43a2f1
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00438aa3
mov dword [ebp - 0x18], 0
jmp 0x41bb4a
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx + 0x40]
mov ecx, dword [ebp - 0x18]
shl ecx, 2
add edx, ecx
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
mov ecx, 0xf4240
sub ecx, edx
mov edx, ecx
mov dword [eax + 0xc], edx
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jl 0x41bb17
mov dword [esp + 4], 0x24
mov dword [esp], 1
call fcn.00447773
mov dword [ebp - 0x2c], eax
mov dword [esp], 8
call fcn.004476ac
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
add eax, 4
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004477e1
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x2c]
mov dword [eax], 4
mov eax, dword [ebp - 0x2c]
jmp 0x41bbdd
cmp dword [ebp - 0x2c], 0
je 0x41bbcd
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0046e260
jmp 0x41bbd8
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.0046e090
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret