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

Disassembly:
sub esp, 0x644
push ebp
push esi
mov esi, dword [esp + 0x650]
xor ebp, ebp
push ebp
push esi
push str..:_.___.
push ebp
push ebp
call fcn.004b08a0
add esp, 0x14
test eax, eax
je 0x4bb2b3
push esi
push str._0qvmbin.tmp
lea eax, [esp + 0x100]
push 0x104
push eax
call fcn.004b0a80
add esp, 0x10
jmp 0x4bb2f3
mov ecx, dword [str.LOCAL:qvmbin.tmp]
mov edx, dword [0x547950]
mov eax, dword [0x547954]
mov dword [esp + 0xf8], ecx
mov ecx, dword [0x547958]
mov dword [esp + 0xfc], edx
mov dl, byte [0x54795c]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
mov byte [esp + 0x108], dl
push ebx
push 0x538354
push esi
mov dword [0xa43ed0], ebp
call fcn.004b1510
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0xc], ebx
je 0x4bbbff
mov esi, dword [esp + 0x658]
push edi
push esi
call fcn.004b5b60
add esp, 4
test eax, eax
je 0x4bbbcf
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.004b5f00
mov esi, eax
push str.Initialising_parser._n
mov dword [esp + 0x90], esi
call fcn.004bbc30
lea ecx, [esp + 0x2c]
push ecx
call fcn.004c0660
push 1
push 1
lea edx, [esp + 0x38]
push str.___t_n_r_
push edx
call fcn.004c0680
push 1
push 2
lea eax, [esp + 0x48]
push str.______.___
push eax
call fcn.004c0680
push 1
push 0xa
lea ecx, [esp + 0x58]
push str._a_zA_Z__a_zA_Z0_9__:
push ecx
call fcn.004c0680
add esp, 0x40
lea edx, [esp + 0x20]
push 1
push 5
push str.___0_9__._0_9_
push edx
call fcn.004c0680
push 1
push 6
lea eax, [esp + 0x38]
push 0x5478e4
push eax
call fcn.004c0680
push 1
push 7
lea ecx, [esp + 0x48]
push 0x5478e0
push ecx
call fcn.004c0680
push 1
push 8
lea edx, [esp + 0x58]
push 0x5478dc
push edx
call fcn.004c0680
add esp, 0x40
lea eax, [esp + 0x20]
push 1
push 3
push str.0x_0_9a_fA_F_
push eax
call fcn.004c0680
push 1
push 0xb
lea ecx, [esp + 0x38]
push str._0_9a_zA_Z_:
push ecx
call fcn.004c0680
push 1
push 0xc
lea edx, [esp + 0x48]
push str.__0_9a_zA_Z_
push edx
call fcn.004c0680
push ebp
push 9
lea eax, [esp + 0x58]
push str._a_zA_Z__a_zA_Z0_9_._
push eax
call fcn.004c0680
add esp, 0x40
push ebp
push 4
lea ecx, [esp + 0x28]
push str.___0_9_
push ecx
call fcn.004c0680
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0xf0]
push edx
push esi
push eax
call fcn.004bf1c0
lea ecx, [esp + 0xfc]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0xec]
push edx
push eax
call fcn.004c0720
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x22c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xf4]
lea eax, [esp + 0x80]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x98]
lea eax, [esp + 0x94]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x88]
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xa0]
push 0x12ccb
mov dword [esp + 0x48], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], ebp
call fcn.004c0360
add esp, 0x2c
mov dword [esp + 0x50], eax
lea ebx, [esp + 0x4cc]
lea edx, [esp + 0x2c]
push 0
push edx
push 1
push ebp
call fcn.004bd3f0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
add ebx, 8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
cmp ebp, 0x31
rep movsb byte es:[edi], byte [esi]
jl 0x4bb542
lea ecx, [esp + 0x100]
push 0x538354
push ecx
call fcn.004b1510
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], esi
je 0x4bba84
push str.Assembling_n
call fcn.004bbc30
lea edx, [esp + 0xd0]
lea eax, [esp + 0x208]
push edx
push eax
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], esi
call fcn.004bb240
add esp, 0xc
test eax, eax
je 0x4bb6e4
mov ebx, 1
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4bb6e4
mov eax, dword [esp + 0x4c8]
cmp eax, 0xa
jne 0x4bb620
lea ecx, [esp + 0x20c]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004bae00
add esp, 8
test eax, eax
je 0x4bb6c4
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ecx
jmp 0x4bb6c4
cmp eax, 0xb
je 0x4bb6c4
cmp eax, 9
jne 0x4bb6c4
mov al, byte [esp + 0x20c]
test al, al
je 0x4bb65a
lea esi, [esp + 0x20c]
movsx edx, al
push edx
call fcn.004ad73d
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4bb644
xor edi, edi
lea ebp, [esp + 0x4cc]
mov esi, ebp
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bb690
test cl, cl
je 0x4bb68c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bb690
add eax, 2
add esi, 2
test cl, cl
jne 0x4bb66c
xor eax, eax
jmp 0x4bb695
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bb741
inc edi
add ebp, 8
cmp edi, 0x31
jl 0x4bb663
lea eax, [esp + 0x20c]
lea ecx, [esp + 0x34]
push eax
push str.Unknown_opcode:__s_n
push ecx
mov dword [esp + 0x44], ebx
call fcn.004baf30
add esp, 0xc
lea edx, [esp + 0xcc]
lea eax, [esp + 0x204]
push edx
push eax
call fcn.004bb240
add esp, 8
test eax, eax
jne 0x4bb5dc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b1690
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x4bba9e
lea edx, [esp + 0x88]
lea eax, [esp + 0x100]
push edx
push eax
call fcn.004b18b0
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x4bba9e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x88]
cmp eax, ecx
je 0x4bb781
push str.INTERNAL_ERROR:_QVMAsm_bin_file_size_does_not_match_computed_program_size___
call fcn.004af7b0
add esp, 4
jmp 0x4bb73f
cmp edi, 0x31
jge 0x4bb6a6
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push edi
mov dword [esp + 0x28], 0
call fcn.004bd3f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esp, 0x10
add eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
jmp 0x4bb6c4
push str.Patching_code_n
call fcn.004bbc30
mov edi, dword [esp + 0x58]
add esp, 4
mov ebp, dword [edi]
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x4bb83b
mov esi, dword [edi + 8]
mov ebx, dword [esi]
test ebx, ebx
je 0x4bb809
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4bb7ca
mov edx, dword [esi + 8]
lea eax, [edi + 0x1c]
push edx
push eax
lea ecx, [esp + 0x3c]
push str.Unknown_label__s_at_PC:_08x_n
push ecx
call fcn.004baf30
add esp, 0x10
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x2c], edx
xor eax, eax
mov ecx, dword [esi + 8]
mov dl, byte [esp + eax + 0x2c]
add ecx, eax
inc eax
cmp eax, 4
mov byte [ecx + ebp], dl
jb 0x4bb7dc
push esi
call fcn.004af960
push esi
call fcn.004b0d10
mov esi, ebx
mov ebx, dword [ebx]
add esp, 8
test ebx, ebx
jne 0x4bb7a9
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
lea eax, [edi + 0x1c]
push eax
push ecx
call fcn.004c0460
push edi
call fcn.004af960
push edi
call fcn.004b0d10
mov edi, ebp
mov ebp, dword [ebp]
add esp, 0x10
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x4bb7a0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x78]
mov edi, dword [esi]
test edi, edi
je 0x4bb877
mov edx, dword [esi + 0xc]
xor eax, eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esi + 8]
mov dl, byte [esp + eax + 0x2c]
add ecx, eax
inc eax
cmp eax, 4
mov byte [ecx + ebx], dl
jb 0x4bb84e
push esi
call fcn.004af960
push esi
call fcn.004b0d10
mov esi, edi
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x4bb845
mov al, 0x4f
xor ebp, ebp
mov byte [esp + 0x91], al
mov byte [esp + 0x92], al
mov eax, dword [esp + 0x60]
mov byte [esp + 0x90], 0x4c
mov byte [esp + 0x93], 0x50
mov dword [esp + 0x94], 8
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x98], 5
mov edx, dword [eax]
xor esi, esi
xor ebx, ebx
cmp edx, ebp
je 0x4bb8e5
lea edi, [eax + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, edx
mov edx, dword [edx]
dec ecx
inc ebx
cmp edx, ebp
lea esi, [esi + ecx + 1]
jne 0x4bb8cb
mov eax, dword [esp + 0x6c]
lea edx, [ebx*4]
mov dword [esp + 0xa4], edx
add edx, 0x3c
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0x3c
mov dword [esp + 0xa8], esi
add edx, esi
mov esi, dword [eax]
xor ebp, ebp
xor ebx, ebx
test esi, esi
je 0x4bb939
lea edi, [eax + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, esi
mov esi, dword [esi]
dec ecx
inc ebx
test esi, esi
lea ebp, [ecx + ebp + 1]
jne 0x4bb91f
lea eax, [ebx*4]
mov dword [esp + 0xac], edx
add edx, eax
mov dword [esp + 0xb8], ebp
add ebp, edx
lea ecx, [esp + 0x90]
mov dword [esp + 0xbc], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1c]
push 0x3c
push ecx
push ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0xcc], eax
call fcn.004b1700
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x1c], 0
add esp, 0xc
mov esi, dword [edi]
test esi, esi
je 0x4bb9d0
lea edx, [esp + 0x10]
push 4
push edx
push ebp
call fcn.004b1700
add edi, 8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
mov edi, esi
not ecx
dec ecx
lea ecx, [eax + ecx + 1]
mov dword [esp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
jne 0x4bb99b
mov edi, dword [esp + 0x60]
mov esi, dword [edi]
mov edx, edi
test esi, esi
je 0x4bb9f9
add edx, 8
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push ebp
call fcn.004b1700
mov edx, esi
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x4bb9d8
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 0
mov edi, edx
mov esi, dword [edx]
test esi, esi
je 0x4bba42
lea edx, [esp + 0x10]
push 4
push edx
push ebp
call fcn.004b1700
add edi, 8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
mov edi, esi
not ecx
dec ecx
lea ecx, [eax + ecx + 1]
mov dword [esp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
jne 0x4bba0d
mov edx, dword [esp + 0x6c]
mov esi, dword [edx]
test esi, esi
je 0x4bba69
add edx, 8
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push ebp
call fcn.004b1700
mov edx, esi
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x4bba48
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edx
push esi
push ebp
call fcn.004b1700
push esi
call fcn.004b1a30
add esp, 0x10
jmp 0x4bbaa2
lea eax, [esp + 0x100]
lea ecx, [esp + 0x34]
push eax
push str.Failed_to_create_temporary_file__s.
push ecx
call fcn.004baf30
add esp, 0xc
mov ebp, dword [esp + 0x10]
push str.Cleaning_up_n
call fcn.004bbc30
mov edi, dword [esp + 0x64]
add esp, 4
mov esi, dword [edi]
test esi, esi
je 0x4bbad0
push edi
call fcn.004af960
push edi
call fcn.004b0d10
mov edi, esi
mov esi, dword [esi]
add esp, 8
test esi, esi
jne 0x4bbab9
mov edi, dword [esp + 0x6c]
mov esi, dword [edi]
test esi, esi
je 0x4bbaf1
push edi
call fcn.004af960
push edi
call fcn.004b0d10
mov edi, esi
mov esi, dword [esi]
add esp, 8
test esi, esi
jne 0x4bbada
mov edi, dword [esp + 0x78]
mov esi, dword [edi]
test esi, esi
je 0x4bbb12
push edi
call fcn.004af960
push edi
call fcn.004b0d10
mov edi, esi
mov esi, dword [esi]
add esp, 8
test esi, esi
jne 0x4bbafb
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4bbb6b
mov edi, dword [ebx + 8]
mov esi, dword [edi]
test esi, esi
je 0x4bbb40
push edi
call fcn.004af960
push edi
call fcn.004b0d10
mov edi, esi
mov esi, dword [esi]
add esp, 8
test esi, esi
jne 0x4bbb29
mov eax, dword [esp + 0x50]
lea edx, [ebx + 0x1c]
push edx
push eax
call fcn.004c0460
push ebx
call fcn.004af960
push ebx
call fcn.004b0d10
mov ebx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4bbb20
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004c03c0
lea edx, [esp + 0x104]
push edx
call fcn.004b1ac0
lea eax, [esp + 0xe8]
push eax
call fcn.004befc0
lea ecx, [esp + 0xd8]
push ecx
call fcn.004c0750
lea edx, [esp + 0x30]
push edx
call fcn.004f1d80
mov eax, dword [esp + 0x98]
push eax
call fcn.004b63d0
add esp, 0x18
push ebp
call fcn.004b1690
mov eax, dword [0xa43ed0]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x644
ret
push esi
lea ecx, [esp + 0x38]
push str.Failed_to_load_assembler_source_file:__s
push ecx
call fcn.004baf30
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.004b1690
mov eax, dword [0xa43ed0]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x644
ret
push esi
lea edx, [esp + 0x34]
push str.Failed_to_open_file__s_for_writing.
push edx
call fcn.004baf30
mov eax, dword [0xa43ed0]
add esp, 0xc
pop ebx
pop esi
pop ebp
add esp, 0x644
ret