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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0x94]
mov edx, dword [ebp]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], edx
cmp esi, ecx
jne 0x601f03
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push edi
mov edi, dword [esp + 0xa0]
mov eax, 0x62
cmp edi, ecx
je 0x601f17
movzx eax, byte [edi]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x601f30.21
movzx eax, byte [eax + 0x602a04]
jmp dword [eax*4 + 0x6029a0]
movsx ecx, word [edi + 0x1e]
mov eax, dword [edi + 0x24]
cmp byte [eax], 0
mov edx, dword [eax + 0x14]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x601f58
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
jmp 0x60297d
cmp byte [eax + 1], 0
je 0x601f78
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 8]
push ebx
push ecx
push edx
push 0x1d
mov eax, esi
call fcn.005d7f10
add esp, 0x10
jmp 0x60297d
xor ecx, ecx
mov eax, dword [edi + 0x18]
cmp eax, ecx
jge 0x601f91
movsx eax, word [edi + 0x1c]
add eax, dword [ebp + 0x58]
mov dword [esp + 0x14], eax
jmp 0x60297d
movzx ecx, byte [edi + 0x23]
movsx edx, word [edi + 0x1c]
push ecx
push ebx
push eax
mov eax, dword [edi + 0x28]
push edx
push eax
push ebp
call fcn.005f2b90
add esp, 0x18
mov dword [esp + 0x14], eax
jmp 0x60297d
push ebx
xor edx, edx
mov eax, edi
mov ecx, ebp
call fcn.005df340
add esp, 4
jmp 0x60297d
mov esi, dword [edi + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x18]
push ecx
push 0
call fcn.005df2e0
add esp, 8
jmp 0x60297d
mov edx, edi
mov eax, dword [edx + 4]
push 0
push eax
push 0x5e
xor eax, eax
mov ecx, ebx
xor edx, edx
mov edi, esi
call fcn.005de560
add esp, 0xc
jmp 0x60297d
xor ecx, ecx
push esi
mov eax, ebx
lea edx, [ecx + 0xa]
call fcn.005d7fb0
add esp, 4
jmp 0x60297d
mov ecx, edi
mov ecx, dword [ecx + 4]
add ecx, 2
call fcn.005cabe0
mov edi, dword [esp + 0x18]
mov esi, eax
dec esi
push esi
push ecx
mov eax, edi
call fcn.005d0600
push eax
call fcn.005d56c0
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0xb
xor eax, eax
mov ecx, ebx
call fcn.005de560
add esp, 0x18
jmp 0x60297d
movsx ecx, word [edi + 0x1c]
push esi
mov eax, ebx
mov edx, 0xc
call fcn.005d7fb0
mov edx, dword [edi + 4]
add esp, 4
cmp byte [edx + 1], 0
je 0x60297d
movsx eax, word [edi + 0x1c]
mov ecx, dword [ebp + 0x1ec]
mov edx, dword [ecx + eax*4 - 4]
push edx
push esi
mov ecx, 0xfffffffe
or eax, 0xffffffff
call fcn.005d8230
add esp, 8
jmp 0x60297d
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
jmp 0x60297d
mov ecx, dword [edi + 8]
push ebx
push ecx
push ebp
call fcn.00601ec0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x60297d
mov edx, dword [edi + 8]
push ebx
push edx
push ebp
call fcn.00601ec0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
add esp, 0xc
call fcn.005d1ba0
movsx edi, al
add edi, 0x2c
cmp dword [esp + 0x14], ebx
je 0x6020fd
mov ecx, dword [esp + 0x14]
push esi
mov eax, ebx
mov edx, 0xf
call fcn.005d7fb0
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, esi
mov esi, dword [esp + 0x14]
push eax
mov eax, esi
mov ecx, edi
call fcn.005d7f90
add esp, 4
mov ecx, 1
mov edi, esi
mov eax, ebp
call fcn.005d15c0
jmp 0x60297d
mov edx, dword [edi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ebx, ebp
call fcn.005d9690
mov ecx, dword [edi + 0xc]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.005d9690
mov edx, dword [esp + 0xb4]
push 0x10
push edx
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 8]
push esi
push eax
mov eax, dword [edi + 0xc]
mov edx, ebp
call fcn.005ebec0
add esp, 0x24
jmp 0x60297d
mov edx, dword [edi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ebx, ebp
call fcn.005d9690
mov ecx, dword [edi + 0xc]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.005d9690
mov edx, dword [esp + 0xb4]
push 0x90
push edx
push eax
xor eax, eax
cmp dword [esp + 0x38], 0x46
sete al
add eax, 0x4b
jmp 0x602152
mov edx, dword [edi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ebx, ebp
call fcn.005d9690
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.005d9690
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
push edx
mov eax, esi
call fcn.005d7f10
add esp, 0x20
jmp 0x60297d
mov eax, dword [edi + 8]
mov cl, byte [eax]
cmp cl, 0x81
jne 0x602214
push ebx
mov edx, 1
mov ecx, ebp
call fcn.005df340
mov eax, dword [esp + 0xa8]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x60297d
cmp cl, 0x82
jne 0x60223d
mov esi, dword [eax + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x18]
push ecx
push 1
call fcn.005df2e0
mov eax, dword [esp + 0xac]
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x60297d
mov eax, ebp
call fcn.005d1720
xor ecx, ecx
push esi
lea edx, [ecx + 7]
mov dword [esp + 0x30], eax
call fcn.005d7fb0
mov eax, dword [edi + 8]
lea edx, [esp + 0x3c]
push edx
push eax
mov ebx, ebp
call fcn.005d9690
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
push 0x57
mov eax, esi
call fcn.005d7f10
mov eax, dword [esp + 0xc0]
add esp, 0x1c
mov dword [esp + 0x14], eax
jmp 0x60297d
mov edx, dword [edi + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ebx, ebp
call fcn.005d9690
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0xac]
push esi
mov dword [esp + 0x20], eax
call fcn.005d7fb0
add esp, 0xc
jmp 0x60297d
mov ecx, 1
push esi
mov eax, ebx
lea edx, [ecx + 6]
call fcn.005d7fb0
mov ecx, dword [edi + 8]
lea eax, [esp + 0x30]
push eax
push ecx
mov ebx, ebp
call fcn.005d9690
mov ecx, dword [esp + 0x28]
push esi
call fcn.005d7f90
mov ecx, dword [esp + 0xb4]
mov edi, eax
or eax, 0xffffffff
push esi
lea edx, [eax + 0x15]
call fcn.005d7fb0
add esp, 0x14
mov eax, edi
mov ecx, esi
call fcn.005cfe80
jmp 0x60297d
mov eax, dword [edi + 0x24]
cmp eax, ecx
jne 0x60232d
mov edx, edi
mov eax, dword [edx + 4]
push eax
push str.misuse_of_aggregate:__s__
mov edi, ebp
call fcn.005dcad0
add esp, 8
jmp 0x60297d
movsx ecx, word [edi + 0x1e]
mov edx, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + edx + 8]
mov dword [esp + 0x14], eax
jmp 0x60297d
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x28], al
mov eax, 0x4000
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ecx
test word [edi + 2], ax
je 0x6023b1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
mov ebx, ecx
mov esi, dword [edi + 4]
mov ecx, esi
call fcn.005cabe0
mov ecx, dword [esp + 0x28]
push 0
push ecx
push ebx
push eax
push esi
push edx
mov dword [esp + 0x48], eax
call fcn.005e04e0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x6023c4
mov edx, dword [esp + 0x30]
push esi
push edx
push str.unknown_function:__.s__
mov edi, ebp
call fcn.005dcad0
add esp, 0xc
jmp 0x60297d
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
cmp eax, ecx
je 0x602368
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
jmp 0x60236e
test byte [eax + 3], 0x20
je 0x60246b
mov eax, dword [esp + 0x18]
call fcn.005d7fd0
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
mov eax, ebp
call fcn.005d96d0
cmp ebx, 1
jle 0x602462
dec ebx
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x30]
jmp 0x602410
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edx
mov ecx, esi
mov edx, 0x4a
call fcn.005d7fb0
add esp, 4
mov ecx, 1
mov edi, esi
mov eax, ebp
call fcn.005d14e0
call fcn.005d1520
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov ecx, dword [ebx + ecx]
mov eax, ebp
call fcn.005d96d0
mov ecx, 1
mov eax, ebp
call fcn.005d1530
add ebx, 0x14
sub dword [esp + 0x10], 1
jne 0x602410
mov edx, dword [esp + 0x24]
jmp 0x602974
cmp dword [esp + 0x34], 0
je 0x6024cf
mov esi, ebx
mov ecx, ebp
call fcn.005d1770
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov al, byte [edx + 3]
mov dword [esp + 0x28], ecx
test al, 0xc0
je 0x6024a4
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 8]
mov esi, dword [edx]
mov dl, byte [esi]
cmp dl, 0x98
je 0x6024a1
cmp dl, 0x9a
jne 0x6024a4
mov byte [esi + 0x23], al
mov eax, ebp
call fcn.005d1520
mov esi, dword [esp + 0x34]
push 1
mov eax, esi
mov ebx, ebp
call fcn.005d9830
add esp, 4
mov ecx, 1
mov eax, ebp
call fcn.005d1530
mov ebx, dword [esp + 0x20]
jmp 0x6024db
mov esi, dword [esp + 0x34]
mov dword [esp + 0x28], 0
cmp ebx, 2
jl 0x6024ee
test byte [edi + 2], 0x80
je 0x6024ee
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
jmp 0x6024f7
test ebx, ebx
jle 0x60250e
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ebx
push ecx
push edx
call fcn.005e23e0
mov dword [esp + 0x28], eax
add esp, 0xc
xor edi, edi
cmp ebx, edi
lea esi, [edi + 1]
jle 0x602576
mov dword [esp + 0x20], edi
jmp 0x602520
cmp edi, 0x20
jge 0x602540
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + edx]
call fcn.005d94d0
test eax, eax
je 0x602540
or dword [esp + 0x10], esi
mov eax, dword [esp + 0x1c]
test byte [eax + 3], 8
je 0x60256a
cmp dword [esp + 0x3c], 0
jne 0x60256a
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + eax]
mov eax, ebp
call fcn.005ebda0
mov dword [esp + 0x3c], eax
add dword [esp + 0x20], 0x14
inc edi
rol esi, 1
cmp edi, ebx
jl 0x602520
mov ecx, dword [esp + 0x1c]
test byte [ecx + 3], 8
je 0x6025ad
cmp dword [esp + 0x3c], 0
jne 0x602592
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
push 0xfffffffffffffffc
push ecx
push 0x11
xor eax, eax
xor ecx, ecx
xor edx, edx
call fcn.005de560
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
push 0xfffffffffffffffb
push edx
mov edx, dword [esp + 0x18]
push 0x12
call fcn.005de560
add esp, 0xc
mov dl, bl
mov eax, edi
call fcn.005cfe60
test ebx, ebx
je 0x60297d
mov ecx, dword [esp + 0x28]
mov esi, ebx
mov eax, ebp
call fcn.005d17a0
jmp 0x60297d
push 0
push 0
push edi
push ebp
call fcn.005ebf20
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x60297d
mov eax, esi
call fcn.005d7fd0
mov dword [esp + 0x10], eax
mov eax, esi
call fcn.005d7fd0
xor ecx, ecx
mov dword [esp + 0x24], eax
push esi
mov eax, ebx
lea edx, [ecx + 0xa]
call fcn.005d7fb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
mov eax, edi
call fcn.005ffef0
mov ecx, 1
push esi
mov eax, ebx
lea edx, [ecx + 6]
call fcn.005d7fb0
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.005cfdf0
xor eax, eax
push esi
mov ecx, ebx
lea edx, [eax + 0x14]
call fcn.005d7fb0
mov edx, dword [esp + 0x3c]
add esp, 0x18
mov ecx, esi
jmp 0x602978
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov esi, dword [edx + 8]
mov edi, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ebx, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
call fcn.005d9690
lea edx, [esp + 0x40]
push edx
push edi
mov dword [esp + 0x38], eax
call fcn.005d9690
mov edx, eax
mov eax, ebp
call fcn.005d1720
mov edi, eax
mov eax, ebp
call fcn.005d1720
mov ecx, dword [esp + 0x34]
push 0x10
push edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x30]
push 0x50
mov edx, ebp
call fcn.005ebec0
mov ebx, dword [esi + 0x14]
mov esi, dword [esp + 0x5c]
mov edx, ebp
mov dword [esp + 0x34], ebx
call fcn.005d1740
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov ebx, ebp
call fcn.005d9690
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0x10
push ebx
push eax
mov eax, dword [esp + 0x48]
push edx
push 0x4e
mov edx, ebp
call fcn.005ebec0
mov eax, dword [esp + 0xe4]
add esp, 0x40
push eax
mov eax, dword [esp + 0x1c]
push ebx
push edi
push 0x45
call fcn.005d7f10
add esp, 0x10
mov esi, edi
mov edx, ebp
call fcn.005d1740
mov esi, ebx
call fcn.005d1740
jmp 0x60297d
mov eax, dword [edi + 0x28]
movsx edx, word [eax + 0x26]
inc edx
imul edx, dword [edi + 0x18]
mov dword [esp + 0x30], eax
movsx eax, word [edi + 0x1c]
lea ecx, [edx + eax + 1]
push esi
mov eax, ebx
mov edx, 0x74
call fcn.005d7fb0
movzx eax, word [edi + 0x1c]
add esp, 4
test ax, ax
jl 0x60297d
mov edx, dword [esp + 0x30]
cwde
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
cmp byte [eax + ecx*8 + 0x15], 0x65
jne 0x60297d
push esi
mov eax, ebx
mov ecx, 0x16
call fcn.005d7f90
add esp, 4
jmp 0x60297d
cmp dword [ebp + 0x1b4], ecx
jne 0x6027c6
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, ebp
call fcn.005dcad0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
cmp byte [edi + 1], 2
jne 0x6027d3
mov ecx, ebp
call fcn.005d1f10
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x6027fa
mov ecx, edi
mov edx, dword [ecx + 4]
push edx
xor eax, eax
push 6
lea ecx, [eax + 4]
xor edx, edx
mov edi, esi
call fcn.005de560
add esp, 0xc
jmp 0x60297d
mov ecx, dword [edi + 4]
movsx esi, al
push ecx
mov ebx, ebp
call fcn.005e61d0
add esp, 8
jmp 0x60297d
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov eax, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
call fcn.005d7fd0
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x602888
mov esi, eax
mov ecx, 0xb
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ebx, ebp
call fcn.005d9690
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x60], eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x74]
add esp, 8
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x6c], 0x4c
mov dword [esp + 0x74], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
test ebx, ebx
jle 0x60292d
mov ecx, dword [esp + 0x20]
lea eax, [ebx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
jmp 0x6028a8
mov ecx, dword [esp + 0x20]
mov eax, ebp
call fcn.005d1520
cmp dword [esp + 0x24], 0
je 0x6028be
mov ecx, dword [ecx]
mov dword [esp + 0x78], ecx
jmp 0x6028c4
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
call fcn.005d7fd0
mov ebx, eax
mov eax, dword [esp + 0x10]
push 8
push ebx
push eax
push ebp
call fcn.00600390
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xb4]
mov ecx, dword [ecx + 0x14]
mov eax, ebp
call fcn.005d96d0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
xor ecx, ecx
push esi
lea edx, [ecx + 1]
call fcn.005d7fb0
add esp, 0x14
mov ecx, 1
mov eax, ebp
call fcn.005d1530
mov edx, ebx
mov ecx, esi
call fcn.005cfdf0
add dword [esp + 0x20], 0x28
sub dword [esp + 0x3c], 1
jne 0x6028a4
cmp dword [edi + 0xc], 0
je 0x602957
mov eax, ebp
call fcn.005d1520
mov esi, dword [esp + 0xa4]
mov ecx, dword [edi + 0xc]
call fcn.005d96d0
mov ecx, 1
mov eax, ebp
call fcn.005d1530
jmp 0x602970
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
xor ecx, ecx
push edx
lea edx, [ecx + 0xa]
call fcn.005d7fb0
add esp, 4
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
call fcn.005cfdf0
mov esi, dword [esp + 0x2c]
mov edx, ebp
call fcn.005d1740
mov esi, dword [esp + 0x38]
call fcn.005d1740
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret