Function at 0x403460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xa
cmp esi, 0xb
jb 0x4034da
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], 1
lea ecx, [esp + 0x88]
call fcn.0040ad4c
sub esp, 0xc
mov eax, dword [esp + 0x8c]
jmp 0x4034e0
xor eax, eax
test esi, esi
je 0x4034fe
add eax, dword [esp + 0x88]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x8c]
add eax, esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0xf0], 0x33
mov dword [esp + 0xe0], 0x40b06a
mov dword [esp + 0xe4], 0
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp + 4], xmm0
mov dword [esp], 0x33
mov ecx, ebx
call fcn.0040ae36
sub esp, 0xc
lea esi, [ebp + 0x1c]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 4], edx
mov dword [esp], eax
lea ecx, [esp + 0x78]
call fcn.0040ae90
sub esp, 8
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, 5
mov dword [esp + 0xb4], ebx
jae 0x403596
mov dword [esp + 0x70], 0
test eax, eax
jne 0x40363b
jmp 0x40378a
mov ecx, dword [esp + 0x44]
mov edx, 0x45444f43
xor edx, dword [ecx]
movzx edi, byte [ecx + 4]
xor edi, 0x20
or edi, edx
je 0x4035fa
mov edx, 0x41544144
xor edx, dword [ecx]
movzx edi, byte [ecx + 4]
xor edi, 0x20
or edi, edx
je 0x40360f
mov dword [esp + 0x70], 0
cmp eax, 5
je 0x40363b
mov edx, 0x4d415246
xor edx, dword [ecx]
movzx edi, word [ecx + 4]
xor edi, 0x2045
or edi, edx
jne 0x40363b
cmp eax, 6
mov edx, 6
cmovb edx, eax
mov dword [esp + 0x70], 2
mov edi, 0xfffffffa
jmp 0x403627
cmp eax, 5
mov edx, 5
cmovb edx, eax
mov dword [esp + 0x70], 0
jmp 0x403622
cmp eax, 5
mov edx, 5
cmovb edx, eax
mov dword [esp + 0x70], 1
mov edi, 0xfffffffb
add ecx, edx
add eax, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
test eax, eax
je 0x40378a
mov bh, 1
mov bl, 1
jmp 0x403683
cmp esi, 5
mov edi, 5
cmovb edi, esi
add eax, edi
sub esi, edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
and bh, bl
test bh, 1
je 0x40397f
mov cl, dh
test ecx, ecx
setne bh
mov bl, dl
test esi, esi
je 0x40379e
mov dword [esp + 0x50], 0x40c9c7
mov dword [esp + 0x54], 6
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x44]
call fcn.0040ae6c
sub esp, 0xc
mov esi, dword [esp + 0x48]
cmp eax, esi
cmovae eax, esi
sub esi, eax
add eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
cmp esi, 5
jb 0x403795
mov edx, dword [eax]
mov ecx, 0x454c4946
xor edx, ecx
movzx edi, byte [eax + 4]
xor edi, 0x3a
xor ecx, ecx
or edi, edx
sete dl
setne dh
je 0x403650
cmp esi, 8
jb 0x403795
mov byte [esp + 0x84], dh
mov byte [esp + 0x68], bl
mov bl, bh
mov bh, dl
mov edi, dword [eax]
mov edx, 0x4c495542
xor edi, edx
mov edx, dword [eax + 4]
mov ecx, 0x3a444944
xor edx, ecx
or edx, edi
jne 0x4037a7
cmp esi, 8
mov edx, 8
cmovb edx, esi
add eax, edx
sub esi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
and bl, byte [esp + 0x68]
test bl, 1
mov dl, bh
mov ecx, 0
mov dh, byte [esp + 0x84]
jne 0x403672
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.duplicate_input_file_specification_prefix
mov dword [esp + 0x54], 0x29
jmp 0x403f7b
mov dl, 1
mov bh, 1
test dl, 1
jne 0x4037b3
jmp 0x403811
mov edx, ebx
test dl, 1
jne 0x4037b3
jmp 0x403811
xor esi, esi
test dl, 1
jne 0x4037b3
jmp 0x403811
movzx edx, byte [esp + 0x68]
mov bh, bl
test dl, 1
je 0x403811
test bh, 1
je 0x403811
mov eax, dword [esp + 0x74]
or eax, dword [esp + 0x8c]
jne 0x403ae0
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], 0x40cb05
call sub.msvcrt.dll_strspn
lea edi, [ebx + eax]
movzx eax, byte [ebx + eax]
cmp eax, 0x27
je 0x4037f2
cmp eax, 0x22
jne 0x40395d
inc edi
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4039ba
mov ecx, eax
sub eax, edi
inc ecx
jmp 0x403971
mov bl, dl
mov dword [esp + 0x50], 0x40c9c7
mov dword [esp + 0x54], 6
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x44]
call fcn.0040ae6c
sub esp, 0xc
mov esi, dword [esp + 0x48]
cmp eax, esi
mov ecx, esi
cmovb ecx, eax
mov edx, esi
sub edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x44]
lea edi, [edx + ecx]
mov dword [esp + 0x44], edi
cmp esi, eax
jbe 0x4038bf
mov eax, dword [esp + 0x74]
or eax, dword [esp + 0x8c]
jne 0x4038f7
mov dword [esp + 0x68], edx
mov dword [esp], edi
mov dword [esp + 4], 0x40cb05
call sub.msvcrt.dll_strspn
lea ecx, [edi + eax]
movzx eax, byte [edi + eax]
cmp eax, 0x27
je 0x40389e
cmp eax, 0x22
jne 0x403a25
mov edi, ecx
inc edi
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x403a69
mov ecx, eax
sub eax, edi
inc ecx
jmp 0x403a3b
test bh, 1
je 0x40392a
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.must_be_followed_by_a_hash
mov dword [esp + 0x54], 0x1a
jmp 0x403f7b
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.input_file_has_already_been_specified
mov dword [esp + 0x54], 0x25
jmp 0x403f7b
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.must_be_followed_by_an_input_file
mov dword [esp + 0x54], 0x21
jmp 0x403f7b
mov dword [esp], edi
mov dword [esp + 4], 0x40cb05
call sub.msvcrt.dll_strcspn
mov ecx, eax
add ecx, edi
add ebx, esi
sub ebx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
jmp 0x4039be
call fcn.0040ad64
mov ebx, eax
mov esi, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.duplicate_input_file_specification_prefix
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
jmp 0x403f83
xor edi, edi
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], edi
lea ecx, [esp + 0x78]
call fcn.0040ae90
sub esp, 8
movzx eax, byte [esp + 0x78]
test al, 1
je 0x4039e8
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x403ae0
jmp 0x4039f2
shr eax, 1
test eax, eax
jne 0x403ae0
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.no_input_filename_has_been_specified
mov dword [esp + 0x54], 0x24
jmp 0x403f7b
mov edi, ecx
mov dword [esp], ecx
mov dword [esp + 4], 0x40cb05
call sub.msvcrt.dll_strcspn
mov ecx, eax
add ecx, edi
mov edx, dword [esp + 0x68]
add edx, esi
sub edx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
test eax, eax
je 0x403a69
test bl, 1
je 0x403a83
mov dword [esp + 4], eax
mov dword [esp], edi
lea ecx, [esp + 0x78]
call fcn.0040ae90
sub esp, 8
jmp 0x403ae0
mov dword [esp], 0x24
lea ecx, [esp + 0x4c]
mov edx, str.unbalanced_quotes_in_input_file_name
call fcn.00405a60
jmp 0x403fa4
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], eax
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 4], xmm0
lea esi, [esp + 0x50]
mov dword [esp], esi
call fcn.0040adac
mov dword [esp], esi
lea ecx, [esp + 0x88]
call fcn.00405ad0
sub esp, 4
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x403ad2
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp dword [esp + 0x8c], 0
je 0x404140
mov dword [esp + 0x50], 0x40c9c7
mov dword [esp + 0x54], 6
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x44]
call fcn.0040ae6c
sub esp, 0xc
mov esi, dword [esp + 0x48]
cmp eax, esi
cmovae eax, esi
sub esi, eax
add eax, dword [esp + 0x44]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], 0x40c9c7
mov dword [esp + 0x54], 6
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0040ae66
sub esp, 0xc
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
cmovae eax, ecx
mov edx, ecx
sub edx, esi
add edx, eax
cmp ecx, edx
cmovb edx, ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
test edx, edx
je 0x403caf
mov dword [esp + 0xac], 0x40cb05
mov dword [esp + 0xb0], 3
movsd xmm0, qword [esp + 0xac]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x44]
call fcn.0040ae60
sub esp, 0xc
mov ebx, eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp eax, ebx
cmovb ebx, eax
xor eax, eax
cmp byte [ebp + 0x14], 0
je 0x403bf5
mov eax, 0x10
cmp ebx, 2
jb 0x403bf5
movzx edx, word [ecx]
cmp edx, 0x7830
je 0x40412b
movzx edx, word [ecx]
cmp edx, 0x5830
je 0x40412b
mov edi, ecx
movsx esi, byte [ecx]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0040ad5e
test al, al
je 0x403ce2
add esi, 0xffffffd0
cmp esi, 0xa
jb 0x403f4d
test ebx, ebx
je 0x403f4d
mov eax, edi
not eax
lea esi, [edi - 1]
mov ecx, 0xffffffff
xor edx, edx
nop dword [eax + eax]
cmp ebx, edx
je 0x403ca2
inc eax
inc ecx
inc edx
cmp byte [esi + ebx], 0x2b
lea esi, [esi - 1]
jne 0x403c50
mov esi, ebx
sub esi, edx
je 0x403ca2
mov edx, ebx
sub edx, ecx
cmp ebx, edx
jbe 0x403ca2
mov edx, ebx
sub edx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
call fcn.0040ad5e
test al, al
je 0x404155
mov dword [esp + 0x4c], 0
jmp 0x403fa8
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.no_module_offset_has_been_specified
mov dword [esp + 0x54], 0x23
jmp 0x403f7b
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
xor edi, edi
xor ebx, ebx
mov esi, dword [ebp + 0x28]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x403fbb
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0xec], 0x2a
mov dword [esp + 0xe8], 0x31
movzx eax, byte [ebp + 0x14]
xor al, 1
movzx eax, al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x31
mov dword [esp], 0x2a
mov edi, dword [esp + 0xb4]
mov ecx, edi
call fcn.0040ae3c
sub esp, 0xc
cmp dword [esp + 0x8c], 0
je 0x403e88
mov byte [esp + 0x6f], al
mov ecx, edi
mov edx, 0x2f
call fcn.00403200
test eax, eax
jne 0x403d83
mov ecx, dword [ebp + 0x24]
mov edx, edi
call fcn.00403120
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
movsd xmm0, qword [esp + 0xd8]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00404b20
movzx eax, byte [esp + 0x50]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x51]
cmovne eax, dword [esp + 0x58]
cmovne ecx, dword [esp + 0x54]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebx
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0xd0]
movsd qword [esp], xmm0
mov dword [esp + 0x34], esi
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x6f]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00404c40
test byte [esp + 0x50], 1
je 0x4040cf
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x4040cf
mov edx, eax
movzx eax, byte [esp + 0x78]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x79]
cmovne eax, dword [esp + 0x80]
cmovne ecx, dword [esp + 0x7c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp], xmm0
mov dword [esp + 0x34], esi
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, dl
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004053c0
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x94]
cmp eax, ecx
jne 0x4040e1
jmp 0x4040e9
call fcn.0040ad64
mov esi, eax
mov ebx, edx
mov dword [esp], 0x1c
call sub.libc.dll_operator_new_unsigned_int_
mov edi, eax
mov word [esp + 0x60], 0x105
mov dword [esp + 0x50], str.expected_a_number_as_module_offset
mov dword [esp + 0x54], 0x22
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x50]
mov dword [esp], eax
mov ecx, edi
call fcn.0040ad34
sub esp, 0xc
mov dword [esp + 0x4c], edi
xor edi, edi
xor ebx, ebx
xor eax, eax
xor edx, edx
mov esi, dword [ebp + 0x28]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x403d05
lea eax, [ebp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov eax, dword [ecx]
mov edx, dword [sym.imp.libLLVM_18.dll_llvm::ErrorList::ID]
mov dword [esp], edx
mov esi, ecx
call dword [eax + 0x18]
sub esp, 4
test al, al
je 0x4040ac
mov dword [esp + 0xa8], 0
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
cmp ebx, edi
mov ecx, esi
je 0x404112
mov dword [esp + 0x68], ecx
xor esi, esi
jmp 0x40401b
add ebx, 4
cmp ebx, edi
je 0x404107
mov dword [esp + 0xa0], esi
mov eax, dword [ebx]
mov dword [ebx], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
lea esi, [esp + 0xac]
mov ecx, esi
lea edx, [esp + 0x44]
call fcn.00405df0
mov dword [esp + 8], esi
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00405bc0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x40407e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x404093
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x404010
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x404010
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x50]
mov dword [esp], eax
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x3c]
call fcn.00405df0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x404112
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x94]
cmp eax, ecx
je 0x4040e9
mov dword [esp], eax
call sub.msvcrt.dll_free
test byte [esp + 0x78], 1
je 0x4040ff
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x94]
cmp eax, ecx
jne 0x4040e1
jmp 0x4040e9
cmp ebx, 2
mov edx, 2
cmovb edx, ebx
lea edi, [ecx + edx]
sub ebx, edx
jmp 0x403bf7
mov dword [esp], 0x18
lea ecx, [esp + 0x4c]
mov edx, str.wrong_format_of_build_id
jmp 0x403a79
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov ebx, esi
mov esi, dword [ebp + 0x28]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x403fbb
jmp 0x403d05