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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x685680]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x481f20
mov eax, 0x62
test ebx, ebx
je 0x48164d
movzx eax, byte [ebx]
mov dword [esp + 0x20], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x481666.21
movzx eax, byte [eax + 0x48219c]
jmp dword [eax*4 + 0x482138]
movsx eax, word [ebx + 0x1e]
mov edx, dword [ebx + 0x24]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x14]
lea eax, [eax + ecx*8]
jne 0x481689
mov eax, dword [eax + 0x10]
mov ebx, eax
jmp 0x4816a9
cmp byte [edx + 1], 0
je case.0x481666.152
mov ecx, dword [esp + 0x14]
push edi
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x1d
call fcn.004718f0
add esp, 0xc
mov ebx, edi
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004831b0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004831b0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x18]
test eax, eax
jns 0x4816e8
movsx eax, word [ebx + 0x1c]
add eax, dword [esi + 0x50]
mov ebx, eax
jmp 0x4816a9
mov edx, dword [ebx + 0x28]
push edi
push eax
movsx eax, word [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.004813a0
add esp, 0xc
mov ebx, eax
jmp 0x4816a9
push edi
push 0
mov edx, ebx
mov ecx, esi
call fcn.00480f80
add esp, 8
jmp 0x4816a7
mov edx, dword [ebx + 4]
push edi
push 0
call fcn.00480f00
add esp, 8
jmp 0x4816a7
push 0
push dword [ebx + 4]
mov edx, 0x5e
push 0
push edi
push 0
call fcn.004719b0
add esp, 0x14
jmp 0x4816a7
push edi
push 0
mov edx, 0xa
call fcn.00471990
add esp, 8
jmp 0x4816a7
mov edx, dword [ebx + 4]
add edx, 2
mov ecx, edx
call fcn.0045d380
mov ecx, dword [esp + 0x14]
lea edi, [eax - 1]
push edi
call fcn.00403070
mov ecx, eax
call fcn.0045e280
mov ecx, dword [ebp + 8]
add esp, 4
push 0xffffffffffffffff
push eax
mov eax, edi
cdq
sub eax, edx
push 0
push ecx
mov ecx, dword [esp + 0x24]
sar eax, 1
push eax
mov edx, 0xb
call fcn.004719b0
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4816a9
movsx eax, word [ebx + 0x1c]
push edi
push eax
mov edx, 0xc
call fcn.00471990
mov eax, dword [ebx + 4]
add esp, 8
cmp byte [eax + 1], 0
je 0x4816a7
movsx ecx, word [ebx + 0x1c]
mov eax, dword [esi + 0x1d0]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
call fcn.00471f70
add esp, 8
jmp 0x4816a7
mov eax, dword [ebx + 0x18]
mov ebx, eax
jmp 0x4816a9
mov edx, dword [ebx + 8]
push edi
mov ecx, esi
call fcn.004815f0
add esp, 4
mov ebx, eax
jmp 0x4816a9
mov edx, dword [ebx + 8]
push edi
mov ecx, esi
call fcn.004815f0
mov ecx, dword [ebx + 4]
add esp, 4
mov dword [esp + 0x10], eax
call fcn.004866e0
mov ebx, dword [esp + 0x14]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x48184b
push edi
push eax
mov edx, 0xf
mov ecx, ebx
call fcn.00471990
mov eax, edi
add esp, 8
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00471970
mov ebx, dword [esp + 0x14]
add esp, 4
mov edx, ebx
push 1
mov ecx, esi
call fcn.00481450
add esp, 4
jmp 0x4816a9
mov edx, dword [ebx + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00482230
mov edx, dword [ebx + 0xc]
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00482230
mov ecx, dword [ebp + 8]
add esp, 4
push 0x10
push ecx
push eax
push edi
push dword [esp + 0x30]
push dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov ecx, esi
call fcn.0047f210
add esp, 0x18
mov ebx, dword [esp + 0x10]
jmp 0x4816a9
mov edx, dword [ebx + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00482230
mov edx, dword [ebx + 0xc]
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00482230
mov ecx, dword [ebp + 8]
add esp, 4
push 0x90
push ecx
push eax
xor eax, eax
cmp dword [esp + 0x2c], 0x46
push edi
sete al
add eax, 0x4b
push eax
jmp 0x4818a3
mov edx, dword [ebx + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00482230
mov edx, dword [ebx + 0xc]
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00482230
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
add esp, 4
push ecx
mov ecx, dword [esp + 0x18]
push edi
push eax
call fcn.004718f0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4816a9
mov edx, dword [ebx + 8]
mov al, byte [edx]
cmp al, 0x81
jne 0x481963
push edi
push 1
mov ecx, esi
call fcn.00480f80
add esp, 8
mov dword [esp + 0x10], edi
mov ebx, edi
jmp 0x4816a9
cmp al, 0x82
jne 0x481980
mov edx, dword [edx + 4]
push edi
push 1
call fcn.00480f00
add esp, 8
mov dword [esp + 0x10], edi
mov ebx, edi
jmp 0x4816a9
mov ecx, esi
call fcn.00483190
mov ecx, dword [esp + 0x14]
mov edi, eax
push edi
push 0
mov edx, 7
mov dword [esp + 0x3c], edi
call fcn.00471990
mov edx, dword [ebx + 8]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00482230
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, 0x57
push ecx
mov ecx, dword [esp + 0x18]
push edi
push eax
call fcn.004718f0
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x10], edi
mov ebx, edi
jmp 0x4816a9
mov edx, dword [ebx + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00482230
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add esp, 4
mov ebx, edi
push edi
push eax
call fcn.00471990
add esp, 8
jmp 0x4816a9
push edi
push 1
mov edx, 7
call fcn.00471990
mov edx, dword [ebx + 8]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00482230
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00471970
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, 0x14
push 0xffffffffffffffff
push ecx
mov ecx, ebx
mov edi, eax
call fcn.00471990
add esp, 8
mov edx, edi
mov ecx, ebx
call fcn.00471d80
mov ebx, dword [esp + 0x10]
jmp 0x4816a9
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x481a75
push dword [ebx + 4]
push str.misuse_of_aggregate:__s__
push esi
call fcn.0045d420
jmp 0x4816a4
movsx ecx, word [ebx + 0x1e]
mov eax, dword [eax + 0x24]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
mov ebx, eax
jmp 0x4816a9
mov eax, dword [edx + 8]
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], 0
mov al, byte [eax + 0x4d]
mov byte [esp + 0x18], al
mov eax, 0x2000
test word [ebx + 2], ax
je 0x481b0a
mov dword [esp + 0x20], 0
xor edx, edx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
call fcn.0045d380
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004899d0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x40], edx
test edx, edx
jne 0x481b19
push dword [esp + 0x38]
push dword [esp + 0x30]
push str.unknown_function:__.s__
push esi
call fcn.0045d420
add esp, 0x10
jmp 0x4816a7
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x481ab9
mov edx, dword [eax]
jmp 0x481abb
test byte [edx + 3], 0x40
je 0x481bbf
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.00471a80
mov edx, dword [esp + 0x20]
push edi
mov edx, dword [edx + 0xc]
mov ecx, esi
mov edx, dword [edx]
mov dword [esp + 0x2c], eax
call fcn.00482280
mov ecx, dword [esp + 0x34]
add esp, 4
cmp ecx, 1
jle 0x481baf
dec ecx
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x24], ecx
lea esp, [esp]
push dword [esp + 0x28]
mov edx, 0x4a
push edi
mov ecx, ebx
call fcn.00471990
push 1
mov edx, edi
mov ecx, esi
call fcn.004811f0
add esp, 0xc
mov ecx, esi
call fcn.00481240
mov eax, dword [esp + 0x20]
push edi
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + edx]
call fcn.00482280
add esp, 4
mov ecx, esi
call fcn.00481250
add dword [esp + 0x1c], 0x14
dec dword [esp + 0x24]
jne 0x481b60
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.00471ae0
jmp 0x4816a7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x481bfd
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004831f0
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00481240
mov edx, dword [esp + 0x20]
push 1
push eax
call fcn.00482550
add esp, 8
mov ecx, esi
call fcn.00481250
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
jmp 0x481c05
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x30]
cmp ecx, 2
jl 0x481c1c
test byte [ebx + 2], 0x80
je 0x481c1c
mov eax, dword [eax + 0xc]
push dword [eax + 0x14]
jmp 0x481c25
test ecx, ecx
jle 0x481c3a
mov eax, dword [eax + 0xc]
push dword [eax]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0049b680
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
add esp, 8
xor eax, eax
mov dword [esp + 0x38], eax
lea ebx, [eax + 1]
test ecx, ecx
jle 0x481cc0
xor edx, edx
mov dword [esp + 0x2c], edx
lea ecx, [ecx]
cmp eax, 0x20
jge 0x481c74
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edx]
call fcn.00480350
mov edx, dword [esp + 0x2c]
test eax, eax
mov eax, dword [esp + 0x38]
je 0x481c74
or dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x40]
test byte [ecx + 3], 8
mov ecx, dword [esp + 0x30]
je 0x481cae
cmp dword [esp + 0x28], 0
jne 0x481cae
mov eax, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + eax]
call fcn.0047f050
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
rol ebx, 1
inc eax
add edx, 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jl 0x481c50
mov eax, dword [esp + 0x40]
test byte [eax + 3], 8
je 0x481cfb
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x481cd9
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
mov ebx, dword [esp + 0x14]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x11
mov ecx, ebx
call fcn.004719b0
mov eax, dword [esp + 0x54]
add esp, 0x14
jmp 0x481cff
mov ebx, dword [esp + 0x14]
push 0xfffffffffffffffb
push eax
push edi
mov edi, dword [esp + 0x24]
push edi
push dword [esp + 0x34]
mov edx, 0x12
mov ecx, ebx
call fcn.004719b0
mov edx, dword [esp + 0x44]
add esp, 0x14
mov ecx, ebx
call fcn.00471d60
mov eax, edx
test eax, eax
je 0x4818b3
push eax
mov edx, edi
mov ecx, esi
call fcn.00483220
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x4816a9
push 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.004808a0
add esp, 8
mov ebx, eax
jmp 0x4816a9
call fcn.00471a80
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.00471a80
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x18]
push 0
mov edx, 0xa
mov ebx, eax
call fcn.00471990
mov edx, dword [esp + 0x40]
push ebx
push edi
mov ecx, esi
call fcn.00480cc0
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
push 1
mov edx, 7
call fcn.00471990
mov edx, edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.00471ae0
push 0
push dword [ebp + 8]
mov edx, 0x14
call fcn.00471990
add esp, 0x20
mov edx, ebx
mov ecx, edi
call fcn.00471ae0
mov ebx, dword [esp + 0x10]
jmp 0x4816a9
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], ecx
mov ebx, dword [eax + 0xc]
lea eax, [esp + 0x34]
mov edi, dword [ebx]
mov edx, ecx
push eax
mov ecx, esi
call fcn.00482230
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov edx, edi
mov ecx, esi
call fcn.00482230
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.00483190
mov dword [esp + 0x28], eax
call fcn.00483190
push 0x10
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
push edx
push dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push 0x50
push edi
call fcn.0047f210
mov edx, dword [esp + 0x54]
mov edi, dword [ebx + 0x14]
mov ecx, esi
call fcn.004831b0
lea eax, [esp + 0x54]
push eax
mov edx, edi
mov ecx, esi
call fcn.00482230
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add esp, 0x1c
mov ecx, esi
push 0x10
push ebx
push eax
push dword [esp + 0x24]
push 0x4e
push edi
call fcn.0047f210
push dword [ebp + 8]
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x48]
push ebx
mov edx, 0x45
call fcn.004718f0
add esp, 0x24
mov edx, ebx
mov ecx, esi
call fcn.004831b0
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.004831b0
mov ebx, dword [esp + 0x10]
jmp 0x4816a9
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 8]
movsx eax, word [ebx + 0x1c]
inc ecx
imul ecx, dword [ebx + 0x18]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x14]
push edi
push eax
mov edx, 0x74
call fcn.00471990
movzx eax, word [ebx + 0x1c]
add esp, 8
test ax, ax
js 0x4816a7
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
cmp byte [eax + ecx*8 + 0x16], 0x65
jne 0x4816a7
mov ecx, dword [esp + 0x14]
push edi
mov edx, 0x16
call fcn.00471970
add esp, 4
jmp 0x4816a7
cmp dword [esi + 0x1ac], 0
jne 0x481f37
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.0045d420
add esp, 8
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005cd355
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 1], 2
jne 0x481f48
mov ecx, esi
call fcn.00489260
mov ecx, dword [esp + 0x14]
mov al, byte [ebx + 1]
push 0
push dword [ebx + 4]
cmp al, 4
jne 0x481f6c
push 0
push 4
push 0
mov edx, 6
call fcn.004719b0
add esp, 0x14
jmp 0x4816a7
movsx edx, al
mov ecx, esi
call fcn.00489280
add esp, 8
jmp 0x4816a7
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call fcn.00471a80
mov edx, dword [ebx + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x482037
movq xmm0, qword [edx]
movq qword [esp + 0x74], xmm0
movq xmm0, qword [edx + 8]
movq qword [esp + 0x7c], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x84], xmm0
movq xmm0, qword [edx + 0x18]
movq qword [esp + 0x8c], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [esp + 0x94], xmm0
movq xmm0, qword [edx + 0x28]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
movq qword [esp + 0xa0], xmm0
call fcn.00482230
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
add esp, 4
mov byte [esp + 0x74], 0x84
mov byte [esp + 0x44], 0x4c
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4820d8
mov ebx, dword [esp + 0x14]
lea edi, [eax - 1]
mov eax, dword [esp + 0x1c]
shr edi, 1
inc edi
mov dword [esp + 0x18], edi
mov ecx, esi
call fcn.00481240
mov eax, dword [eax]
test edx, edx
je 0x482068
mov dword [esp + 0x50], eax
jmp 0x48206c
mov dword [esp + 0x24], eax
mov ecx, ebx
call fcn.00471a80
mov edx, dword [esp + 0x24]
mov edi, eax
push 8
push edi
mov ecx, esi
call fcn.004829b0
mov edx, dword [esp + 0x24]
push dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov ecx, esi
call fcn.00482280
add esp, 0xc
mov edx, 1
push dword [esp + 0x2c]
mov ecx, ebx
push 0
call fcn.00471990
add esp, 8
mov ecx, esi
call fcn.00481250
mov edx, edi
mov ecx, ebx
call fcn.00471ae0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add eax, 0x28
dec dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jne 0x482055
mov ebx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
je 0x48210e
mov ecx, esi
call fcn.00481240
mov edx, dword [ebx + 0xc]
push edi
call fcn.00482280
add esp, 4
mov ecx, esi
call fcn.00481250
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
call fcn.00471ae0
mov ebx, dword [esp + 0x10]
jmp 0x4816a9
mov ecx, dword [esp + 0x14]
push edi
push 0
mov edx, 0xa
call fcn.00471990
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add esp, 8
call fcn.00471ae0
mov ebx, dword [esp + 0x10]
jmp 0x4816a9