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

Disassembly:
mov eax, dword [0x821094]
sub esp, 0x170
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x4b57da
lea eax, [esp + 0x7c]
push 0x104
push eax
push str.D:DevProjectsJMain1SourceVTreeLst.cpp
mov dword [0x8210d4], 1
call fcn.004e6240
lea ecx, [esp + 0x7c]
push 0x48
push ecx
push str.Program_runs_to__s__d.
push esi
call fcn.004331c0
add esp, 0x10
mov edi, dword [0x4f0104]
lea edx, [esi + 0x48]
push edx
call edi
lea eax, [esi + 0x60]
push eax
call edi
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x188]
mov dword [esi + 0x7c], eax
mov dword [0x939e8c], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x18c]
lea ebp, [esi + 0xc4]
mov edx, dword [eax + 0xb1]
push ebx
mov dword [esi + 0x78], edx
mov eax, dword [eax + 0x5f43]
push ebx
push ebp
push ecx
mov ecx, eax
call fcn.0049c3e0
test eax, eax
jl 0x4b595c
mov edi, dword [0x4f01f4]
push 0x53
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xac], eax
je 0x4b595c
push 0x53
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xb0], eax
je 0x4b595c
mov edx, dword [esi + 0xac]
push 0x53
mov dword [edx + 0x4b], eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
mov dword [eax + 0x4f], ecx
mov edx, dword [esi + 0xac]
mov dword [edx + 0x4f], ebx
mov eax, dword [esi + 0xb0]
mov dword [eax + 0x4b], ebx
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xbc], eax
je 0x4b595c
push 0x53
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xc0], eax
je 0x4b595c
mov ecx, dword [esi + 0xbc]
push 0x53
mov dword [ecx + 0x4b], eax
mov edx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
mov dword [edx + 0x4f], eax
mov ecx, dword [esi + 0xbc]
mov dword [ecx + 0x4f], ebx
mov edx, dword [esi + 0xc0]
mov dword [edx + 0x4b], ebx
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xb4], eax
je 0x4b595c
push 0x53
call edi
add esp, 4
cmp eax, ebx
mov dword [esi + 0xb8], eax
je 0x4b595c
mov ecx, dword [esi + 0xb4]
mov dword [ecx + 0x4b], eax
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xb4]
mov dword [edx + 0x4f], eax
mov ecx, dword [esi + 0xb4]
mov dword [ecx + 0x4f], ebx
mov edx, dword [esi + 0xb8]
mov dword [edx + 0x4b], ebx
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x5f3b]
cmp byte [ecx + 0x62], bl
jne 0x4b5a05
mov eax, dword [eax + 0x5e77]
lea ecx, [esp + 0x10]
push ebx
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x4b5983
push str.Init__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret 0xc
mov edx, dword [ebp]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x50
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x6c], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x84]
push edx
mov edx, dword [esi + 0x7c]
mov ecx, dword [eax]
mov edx, dword [edx + 0x5e8b]
push edx
push eax
call dword [ecx + 0x14]
mov ebx, dword [0x4f0220]
mov esi, 0x9391f8
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x18]
mov edi, 3
call ebx
cdq
mov ecx, 0x168
idiv ecx
mov dword [esp + 0x10], edx
mov edx, esi
fild dword [esp + 0x10]
add esi, 0xc
dec edi
fmul dword [0x4f1d08]
fld st(0)
fcos
fstp dword [esp + 0x70]
fsin
fld dword [esp + 0x70]
fmul dword [0x4f04d4]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fmul dword [0x4f04d4]
mov dword [edx], eax
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
jne 0x4b5a21
cmp esi, 0x939288
jl 0x4b5a10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x170
ret 0xc