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

Disassembly:
mov eax, dword [0x5fbf00]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x52bac4
mov edi, 4
push edi
push 0x5dd42c
call fcn.00545510
push 0x1e0
call fcn.00535b60
mov esi, 2
mov dword [0x5dd42c], eax
mov dword [eax], esi
mov eax, dword [0x5dd42c]
push esi
push 0
mov dword [eax + 0x10], esi
mov ecx, dword [0x5dd42c]
mov eax, 3
push 0x5c5cd4
mov dword [ecx + 0x20], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x30], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x40], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x50], edi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x60], edi
mov edx, dword [0x5dd42c]
mov dword [edx + 0x70], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x80], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x90], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xa0], esi
mov edx, dword [0x5dd42c]
mov dword [edx + 0xb0], esi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xc0], esi
mov edx, dword [0x5dd42c]
mov dword [edx + 0xd0], esi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xe0], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0xf0], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x100], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x110], esi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x120], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x130], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x140], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x150], eax
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x160], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x170], edi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x180], esi
mov edx, dword [0x5dd42c]
mov dword [edx + 0x190], esi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1a0], esi
mov edx, dword [0x5dd42c]
mov dword [edx + 0x1b0], esi
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1c0], eax
mov edx, dword [0x5dd42c]
mov dword [edx + 0x1d0], esi
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 4], eax
mov edx, dword [0x5dd42c]
add edx, 0xc
push edx
push 0x10
push 0x5c53ac
push esi
push 0x5c5cd4
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:user
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x14], eax
mov edx, dword [0x5dd42c]
add edx, 0x1c
push edx
push 0x10
push 0
push 0
push str.exn:user
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x4c
mov dword [ecx + 0x18], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 4]
push eax
push str.exn:variable
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x24], eax
mov edx, dword [0x5dd42c]
add edx, 0x2c
push edx
push 0x10
push 0x5c53b4
push 1
push str.exn:variable
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x28], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x24]
push eax
push str.exn:variable:keyword
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x34], eax
mov edx, dword [0x5dd42c]
add edx, 0x3c
push edx
push 0x10
push 0
push 0
push str.exn:variable:keyword
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x38], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 4]
push eax
push str.exn:application
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x44], eax
mov edx, dword [0x5dd42c]
add edx, 0x4c
push edx
push 0x10
push 0x5c53b8
push 1
push str.exn:application
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 1
mov dword [ecx + 0x48], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x44]
push eax
push str.exn:application:arity
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x54], eax
mov edx, dword [0x5dd42c]
add edx, 0x5c
push edx
push 0x10
push 0x5c53bc
push 1
push str.exn:application:arity
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x58], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 0x44]
push eax
push str.exn:application:type
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x64], eax
mov edx, dword [0x5dd42c]
add edx, 0x6c
push edx
push 0x10
push 0x5c53c0
push 1
push str.exn:application:type
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x68], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x44]
push eax
push str.exn:application:mismatch
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x74], eax
mov edx, dword [0x5dd42c]
add edx, 0x7c
push edx
push 0x10
push 0
push 0
push str.exn:application:mismatch
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x78], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 0x44]
push eax
push str.exn:application:divide_by_zero
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x84], eax
mov edx, dword [0x5dd42c]
add edx, 0x8c
push edx
push 0x10
push 0
push 0
push str.exn:application:divide_by_zero
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x88], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x44]
push eax
push str.exn:application:continuation
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x94], eax
mov edx, dword [0x5dd42c]
add edx, 0x9c
push edx
push 0x10
push 0
push 0
push str.exn:application:continuation
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x98], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 4]
push eax
push str.exn:else
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xa4], eax
mov edx, dword [0x5dd42c]
add edx, 0xac
push edx
push 0x10
push 0
push 0
push str.exn:else
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0xa8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:struct
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xb4], eax
mov edx, dword [0x5dd42c]
add edx, 0xbc
push edx
push 0x10
push 0
push 0
push str.exn:struct
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0xb8], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 4]
push eax
push str.exn:object
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xc4], eax
mov edx, dword [0x5dd42c]
add edx, 0xcc
push edx
push 0x10
push 0
push 0
push str.exn:object
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0xc8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:unit
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xd4], eax
mov edx, dword [0x5dd42c]
add edx, 0xdc
push edx
push 0x10
push 0
push 0
push str.exn:unit
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0xd8], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 4]
push eax
push str.exn:syntax
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xe4], eax
mov edx, dword [0x5dd42c]
add edx, 0xec
push edx
push 0x10
push 0x5c53c4
push 1
push str.exn:syntax
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 1
mov dword [ecx + 0xe8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:read
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0xf4], eax
mov edx, dword [0x5dd42c]
add edx, 0xfc
push edx
push 0x10
push 0x5c53c8
push 1
push str.exn:read
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0xf8], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 0xf4]
push eax
push str.exn:read:eof
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x104], eax
mov edx, dword [0x5dd42c]
add edx, 0x10c
push edx
push 0x10
push 0
push 0
push str.exn:read:eof
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x108], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:i_o
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x114], eax
mov edx, dword [0x5dd42c]
add edx, 0x11c
push edx
push 0x10
push 0
push 0
push str.exn:i_o
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x118], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 0x114]
push eax
push str.exn:i_o:port
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x124], eax
mov edx, dword [0x5dd42c]
add edx, 0x12c
push edx
push 0x10
push 0x5c53cc
push 1
push str.exn:i_o:port
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x128], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x124]
push eax
push str.exn:i_o:port:read
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x134], eax
mov edx, dword [0x5dd42c]
add edx, 0x13c
push edx
push 0x10
push 0
push 0
push str.exn:i_o:port:read
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x138], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 0x124]
push eax
push str.exn:i_o:port:write
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x144], eax
mov edx, dword [0x5dd42c]
add edx, 0x14c
push edx
push 0x10
push 0
push 0
push str.exn:i_o:port:write
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x148], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x124]
push eax
push str.exn:i_o:port:closed
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x154], eax
mov edx, dword [0x5dd42c]
add edx, 0x15c
push edx
push 0x10
push 0
push 0
push str.exn:i_o:port:closed
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x158], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 0x124]
push eax
push str.exn:i_o:port:user
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x164], eax
mov edx, dword [0x5dd42c]
add edx, 0x16c
push edx
push 0x10
push 0
push 0
push str.exn:i_o:port:user
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push esi
mov dword [ecx + 0x168], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x114]
push eax
push str.exn:i_o:filesystem
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x174], eax
mov edx, dword [0x5dd42c]
add edx, 0x17c
push edx
push 0x10
push 0x5c53d0
push esi
push str.exn:i_o:filesystem
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x178], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 0x114]
push eax
push str.exn:i_o:tcp
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x184], eax
mov edx, dword [0x5dd42c]
add edx, 0x18c
push edx
push 0x10
push 0
push 0
push str.exn:i_o:tcp
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x188], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 4]
push eax
push str.exn:thread
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x194], eax
mov edx, dword [0x5dd42c]
add edx, 0x19c
push edx
push 0x10
push 0
push 0
push str.exn:thread
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x198], eax
mov edx, dword [0x5dd42c]
push 0
mov eax, dword [edx + 4]
push eax
push str.exn:misc
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1a4], eax
mov edx, dword [0x5dd42c]
add edx, 0x1ac
push edx
push 0x10
push 0
push 0
push str.exn:misc
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x1a8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x1a4]
push eax
push str.exn:misc:unsupported
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1b4], eax
mov edx, dword [0x5dd42c]
add edx, 0x1bc
push edx
push 0x10
push 0
push 0
push str.exn:misc:unsupported
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x1b8], eax
mov edx, dword [0x5dd42c]
push 1
mov eax, dword [edx + 0x1a4]
push eax
push str.exn:misc:user_break
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1c4], eax
mov edx, dword [0x5dd42c]
add edx, 0x1cc
push edx
push 0x10
push 0x5c53d8
push 1
push str.exn:misc:user_break
call fcn.005521a0
mov ecx, dword [0x5dd42c]
push 0
mov dword [ecx + 0x1c8], eax
mov edx, dword [0x5dd42c]
mov eax, dword [edx + 0x1a4]
push eax
push str.exn:misc:out_of_memory
call fcn.005522b0
mov ecx, dword [0x5dd42c]
mov dword [ecx + 0x1d4], eax
mov edx, dword [0x5dd42c]
add edx, 0x1dc
push edx
push 0x10
push 0
push 0
push str.exn:misc:out_of_memory
call fcn.005521a0
mov ecx, dword [0x5dd42c]
add esp, 0x40
mov dword [ecx + 0x1d8], eax
mov ebp, dword [esp + 0x14]
mov eax, dword [0x5dd42c]
xor edi, edi
mov ecx, dword [edi + eax + 0xc]
test ecx, ecx
je 0x52bb1f
mov edx, dword [edi + eax + 8]
mov eax, dword [edi + eax + 4]
push 0x10
push ecx
push edx
push eax
call fcn.00551e50
mov ebx, eax
mov eax, dword [0x5dd42c]
add esp, 0x10
mov esi, dword [edi + eax + 0xc]
mov ecx, esi
dec esi
test ecx, ecx
je 0x52bb1f
mov eax, dword [eax + edi + 8]
mov edx, dword [ebx + esi*4]
push ebp
push edx
mov ecx, dword [eax + esi*4]
push ecx
call fcn.00527c10
mov eax, dword [0x5dd42c]
add esp, 0xc
mov edx, esi
dec esi
test edx, edx
jne 0x52bafe
add edi, 0x10
cmp edi, 0x1e0
jl 0x52bacf
push ebp
push 8
push str.current_exception_handler
push 0x52bbb0
call fcn.00544990
add esp, 0xc
push eax
push str.current_exception_handler
call fcn.00527be0
add esp, 0xc
push ebp
push 9
push str.initial_exception_handler
push 0x52bbe0
call fcn.00544990
add esp, 0xc
push eax
push str.initial_exception_handler
call fcn.00527be0
add esp, 0xc
push ebp
push 1
push 1
push str.raise
push 0x52bc10
call fcn.005243c0
add esp, 0x10
push eax
push str.raise
call fcn.00527be0
mov eax, dword [0x5fbf00]
add esp, 0xc
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x52bba7
jmp fcn.0052bc30
ret