Function at 0x4ab0c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
and dword [ebp - 0x1c], 0
and dword [ebp - 0x28], 0
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
mov esi, dword [ebx + 8]
mov edx, dword [ebx]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x4ab0f3
xor eax, eax
jmp 0x4abb5e
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4abb33
movzx eax, byte [edi]
mov dword [ebp - 0x14], eax
cmp eax, 0x65
ja 0x4ab5c7
je 0x4abb33
cmp eax, 0x29
ja 0x4ab401
cmp eax, 0x24
jae 0x4ab3c7
cmp eax, 0x1d
ja 0x4ab244
je case.0x4ab5da.148
cmp eax, 0x13
je 0x4ab42c
cmp eax, 0x14
je case.0x4ab5da.119
cmp eax, 0x1a
jbe case.0x4ab5da.120
cmp eax, 0x1c
jbe 0x4ab44f
mov ecx, dword [edi + 0x14]
and dword [ebp - 0x20], 0
push esi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
call fcn.004c30e9
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
je 0x4ab1ca
push 0xc
pop ecx
mov esi, eax
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
call fcn.004abbc6
mov cl, byte [ebp - 0x5c]
add esp, 0xc
and dword [ebp - 0x58], 0xffffefff
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 0x36], cl
mov byte [ebp - 0x5c], 0x9d
mov byte [ebp - 0x8c], 0x25
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x4abae8
dec edi
shr edi, 1
inc edi
test eax, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edi
je 0x4aba95
inc dword [ebx + 0x6c]
mov eax, dword [eax]
push esi
mov dword [ebp - 0x7c], eax
call fcn.004c30e9
push 0x10
mov esi, eax
push esi
push dword [ebp - 0x20]
push ebx
call fcn.004ac04c
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [eax + 0x18]
push ebx
call fcn.004aaa87
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.004c2892
push ebx
call fcn.004aa8bf
push esi
mov esi, dword [ebp - 8]
push esi
call fcn.004c474e
mov eax, dword [ebp + 8]
add esp, 0x34
add eax, 0x30
mov dword [ebp + 8], eax
sub edi, 1
jne 0x4ab1e8
jmp 0x4abae8
cmp eax, 0x20
je 0x4ab311
cmp eax, 0x21
je 0x4ab2a7
add eax, 0xffffffde
cmp eax, 1
ja case.0x4ab5da.120
push 0
push ecx
push 1
push 0x4a
push esi
call fcn.004bc89c
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
push eax
push dword [ebp - 0x14]
push esi
call fcn.004bc867
mov edi, dword [ebp - 8]
mov esi, eax
push 0
push dword [ebp + 0x10]
push 0
push 0x4a
push edi
call fcn.004bc89c
add esp, 0x40
push esi
push edi
call fcn.004c2d94
pop ecx
pop ecx
jmp 0x4abb43
push esi
call fcn.004c30e9
push dword [ebp - 8]
mov esi, eax
call fcn.004c30e9
push 0
push dword [ebp + 0x10]
mov edi, eax
push 0
push 0x4d
push dword [ebp - 8]
call fcn.004bc89c
push edi
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004aadef
push 0
push dword [ebp + 0x10]
push 1
push 0x4a
push dword [ebp - 8]
call fcn.004bc89c
add esp, 0x40
push esi
mov esi, dword [ebp - 8]
push esi
call fcn.004c474e
push 0
push 0
push dword [ebp + 0x10]
push 0x59
push esi
call fcn.004bc89c
push edi
push esi
call fcn.004c474e
add esp, 0x24
jmp 0x4abb43
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
push ecx
push ebx
mov esi, dword [edi]
call fcn.004abbc6
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebp + 8]
call fcn.004abbc6
push dword [ebp + 8]
mov edx, eax
call fcn.004aedf6
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
call fcn.004aedf6
push 0x20
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
push edx
push ebx
push 0x29
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00491b5f
mov esi, dword [edi + 0x18]
add esp, 0x40
mov edi, dword [ebp + 8]
push dword [ebp - 0x28]
push edi
call fcn.004b6e07
lea eax, [ebp - 0x28]
push eax
push esi
push edi
call fcn.004abbc6
mov edi, dword [ebp - 0x10]
push 0x20
push edi
push eax
push ebx
push 0x27
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00491b5f
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
push edi
push ebx
push 0x1c
push dword [ebp - 8]
call fcn.004bc89c
add esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.004b6e07
push edi
push ebx
call fcn.004b6e07
add esp, 0x10
jmp 0x4abb43
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x10]
push ebx
call fcn.004abbc6
push 0x20
push dword [ebp + 0x10]
push eax
push esi
push dword [ebp - 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push ebx
call fcn.00491b5f
add esp, 0x38
jmp 0x4abb43
cmp eax, 0x42
ja 0x4ab4da
je 0x4ab483
cmp eax, 0x2b
jb case.0x4ab5da.120
cmp eax, 0x34
jbe 0x4ab44f
cmp eax, 0x35
je case.0x4ab5da.156
cmp eax, 0x36
jne case.0x4ab5da.120
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
mov edi, dword [ebp + 0x10]
push edi
push eax
push dword [ebp - 0x14]
push esi
call fcn.004bc881
add esp, 0x1c
jmp 0x4abb46
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x10]
push ebx
call fcn.004abbc6
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.004bc89c
add esp, 0x2c
jmp 0x4abb43
push ecx
push dword [edi + 0xc]
push ebx
call fcn.004ab0c1
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
je 0x4ab4ad
push dword [ebp + 0x10]
push eax
push 0x53
push esi
call fcn.004bc881
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp - 4], eax
push 0
push dword [edi + 8]
call fcn.004a2e90
movsx eax, al
push eax
push dword [ebp + 0x10]
push 0x5b
push esi
call fcn.004bc881
mov edi, dword [ebp - 4]
push 1
push edi
push ebx
call fcn.004aa8f5
add esp, 0x24
jmp 0x4abb46
cmp eax, 0x53
je 0x4ab555
cmp eax, 0x58
je 0x4ab4ff
cmp eax, 0x61
jne case.0x4ab5da.120
push dword [edi + 8]
push ecx
push esi
call fcn.004c30cc
add esp, 0xc
jmp 0x4abb43
mov eax, dword [edi + 0x2c]
push ecx
mov dword [ebp + 8], eax
movsx ecx, word [eax + 0x22]
movsx eax, word [edi + 0x20]
inc ecx
imul ecx, dword [edi + 0x1c]
inc eax
add eax, ecx
push eax
push 0x8d
push esi
call fcn.004bc881
movzx eax, word [edi + 0x20]
add esp, 0x10
test ax, ax
js 0x4abb43
movsx ecx, ax
mov eax, dword [ebp + 8]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4abb43
push dword [ebp + 0x10]
push 0x5a
push esi
call fcn.004bc867
jmp 0x4ab4f7
xor ecx, ecx
cmp dword [ebx + 0x1a4], ecx
jne 0x4ab573
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.004aa287
pop ecx
pop ecx
xor eax, eax
jmp 0x4abb5d
mov al, byte [edi + 1]
cmp al, 2
jne 0x4ab590
mov eax, dword [ebx + 0x1a0]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
xor ecx, ecx
mov al, byte [edi + 1]
push ecx
cmp al, 4
jne 0x4ab5ac
push dword [edi + 8]
push ecx
push 4
push ecx
push 0x49
push esi
call fcn.004bc8f8
add esp, 0x1c
jmp 0x4abb43
push ecx
push dword [edi + 8]
movsx eax, al
push eax
push 0x713
push ebx
call fcn.004af599
add esp, 0x18
jmp 0x4abb43
add eax, 0xffffff89
cmp eax, 0x28
ja case.0x4ab5da.120
movzx eax, byte [eax + 0x4abb9d]
jmp dword [eax*4 + 0x4abb65]
movsx eax, word [edi + 0x22]
mov edx, dword [edi + 0x28]
imul eax, eax, 0x18
add eax, dword [edx + 0x1c]
cmp byte [edx], 0
jne 0x4ab5fd
mov eax, dword [eax + 0x10]
mov edi, eax
jmp 0x4abb46
cmp byte [edx + 1], 0
je case.0x4ab5da.152
push ecx
push dword [eax + 0xc]
push dword [edx + 8]
push 0x5e
jmp 0x4abb3a
mov edx, dword [edi + 0x1c]
test edx, edx
jns 0x4ab62a
mov edx, dword [ebx + 0x64]
test edx, edx
jle 0x4ab627
movsx eax, word [edi + 0x20]
add eax, edx
jmp 0x4ab5f6
mov edx, dword [ebx + 0x68]
movzx eax, byte [edi + 0x26]
push eax
movsx eax, word [edi + 0x20]
push ecx
push edx
push eax
push dword [edi + 0x2c]
push ebx
call fcn.004aac91
add esp, 0x18
mov dword [ebp - 4], eax
jmp 0x4abb43
push ecx
push 0
push edi
push ebx
call fcn.00491e4a
jmp 0x4ab3bf
push ecx
push 0
push dword [edi + 8]
push esi
call fcn.00491f31
jmp 0x4ab3bf
mov esi, dword [edi + 8]
add esi, 2
push esi
call fcn.004ba176
lea edi, [eax - 1]
push edi
push esi
mov esi, dword [ebp - 8]
push dword [esi]
call fcn.004af6fd
push 0xffffffffffffffff
push eax
push 0
push dword [ebp + 0x10]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0x4f
push esi
call fcn.004bc8f8
jmp 0x4ab47b
movsx eax, word [edi + 0x20]
push ecx
push eax
push 0x50
push esi
call fcn.004bc881
mov eax, dword [edi + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x4abb43
movsx ecx, word [edi + 0x20]
mov eax, dword [ebx + 0x1dc]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
push 0xffffffffffffffff
push esi
call fcn.004bcb09
jmp 0x4ab3bf
mov eax, dword [edi + 0x1c]
jmp 0x4ab5f6
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x10]
push ebx
call fcn.004abbc6
push 0xa0
push dword [ebp + 0x10]
push eax
xor eax, eax
cmp dword [ebp - 0x14], 0x1d
push esi
sete al
add eax, 0x24
push eax
jmp 0x4ab3ed
mov eax, dword [edi + 0xc]
mov dl, byte [eax]
cmp dl, 0x84
jne 0x4ab733
push ecx
push 1
push eax
push ebx
call fcn.00491e4a
jmp 0x4ab744
cmp dl, 0x85
jne 0x4ab749
push ecx
push 1
push dword [eax + 8]
push esi
call fcn.00491f31
add esp, 0x10
jmp 0x4ab787
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x5c], 0x84
push eax
push ebx
mov dword [ebp - 0x58], 0x4400
call fcn.004abbc6
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0xc]
push ebx
call fcn.004abbc6
push dword [ebp + 0x10]
push esi
push eax
push 0x30
push dword [ebp - 8]
call fcn.004bc89c
add esp, 0x2c
mov edi, dword [ebp + 0x10]
jmp 0x4abb46
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4ab7a9
push dword [edi + 8]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.004aa287
jmp 0x4ab4f7
movsx ecx, word [edi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
jmp 0x4ab5f6
and dword [ebp - 0x2c], 0
mov al, byte [edx + 0x42]
and dword [ebp - 0x20], 0
test dword [edi + 4], 0x4000
mov byte [ebp - 0x10], al
je 0x4ab89a
and dword [ebp - 0x24], 0
xor eax, eax
mov ecx, dword [edi + 8]
push 0
push dword [ebp - 0x10]
mov dword [ebp + 8], eax
push eax
push ecx
push edx
mov dword [ebp - 0xc], ecx
call fcn.004aca24
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4aba63
cmp dword [ecx + 0x10], 0
jne 0x4aba63
movzx eax, word [ecx + 2]
test eax, 0x200
je 0x4ab8af
push esi
call fcn.004c30e9
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 4]
push dword [ecx]
push ebx
call fcn.004aaa87
mov ecx, dword [ebp + 8]
add esp, 0x10
cmp ecx, 1
jle 0x4ab88a
dec ecx
mov dword [ebp + 0x10], 0x18
mov dword [ebp + 8], ecx
push dword [ebp - 0x18]
push edi
push 0x23
push esi
call fcn.004bc881
push 1
push edi
push ebx
call fcn.004aa8f5
mov eax, dword [ebp - 0x24]
inc dword [ebx + 0x6c]
mov ecx, dword [ebp + 0x10]
push edi
mov eax, dword [eax + 4]
push dword [ecx + eax]
push ebx
call fcn.004aaa87
push ebx
call fcn.004aa8bf
add dword [ebp + 0x10], 0x18
add esp, 0x2c
sub dword [ebp + 8], 1
jne 0x4ab84c
push dword [ebp - 0x18]
push esi
call fcn.004c474e
pop ecx
pop ecx
jmp 0x4abb46
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x4ab7da
mov eax, dword [ecx]
jmp 0x4ab7dc
test eax, 0x400
je 0x4ab8cf
mov eax, dword [ebp - 0x24]
push dword [ebp + 0x10]
mov eax, dword [eax + 4]
push dword [eax]
push ebx
call fcn.004ab0c1
add esp, 0xc
jmp 0x4ab642
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
jle 0x4ab947
mov esi, dword [ebp - 0x24]
xor edx, edx
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp eax, 0x20
jge 0x4ab90d
mov eax, dword [esi + 4]
push dword [eax + edx]
call fcn.004ac582
mov edx, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0xc]
pop ecx
je 0x4ab90a
mov ecx, dword [ebp - 0x2c]
bts ecx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 8]
test byte [edi + 2], 0x20
je 0x4ab933
cmp dword [ebp - 0x20], 0
jne 0x4ab933
mov eax, dword [esi + 4]
push dword [eax + edx]
push ebx
call fcn.004abc88
mov edx, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
inc eax
add edx, 0x18
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
cmp eax, ecx
jl 0x4ab8e6
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x4ab9bd
cmp dword [ebp - 0x2c], 0
je 0x4ab967
mov eax, dword [ebx + 0x4c]
lea esi, [eax + 1]
add eax, ecx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov dword [ebx + 0x4c], eax
jmp 0x4ab976
push ecx
push ebx
call fcn.004aedc3
mov edx, dword [ebp - 0x24]
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 2], 0xc0
je 0x4ab99e
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov cl, byte [ecx]
cmp cl, 0x98
je 0x4ab993
cmp cl, 0x9a
jne 0x4ab99e
mov al, byte [eax + 2]
mov ecx, dword [ebp - 0x10]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [ebx + 0x6c]
push 3
push 0
push dword [ebp - 0xc]
push edx
push ebx
call fcn.004aab74
push ebx
call fcn.004aa8bf
mov edx, dword [ebp - 0x24]
add esp, 0x18
jmp 0x4ab9c1
and dword [ebp - 0xc], 0
cmp dword [ebp + 8], 2
jl 0x4ab9ea
test byte [edi + 4], 0x80
je 0x4ab9ea
mov eax, dword [edx + 4]
mov edi, dword [ebp + 8]
push dword [eax + 0x18]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004c5a83
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x4ab9fb
mov edi, dword [ebp + 8]
test edi, edi
jle 0x4ab9f8
mov eax, dword [edx + 4]
push dword [eax]
jmp 0x4ab9d6
mov eax, dword [ebp - 0x14]
test byte [eax + 2], 0x20
je 0x4aba24
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4aba0e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
xor eax, eax
push eax
push eax
push eax
push 0x56
push esi
call fcn.004bc8f8
mov eax, dword [ebp - 0x14]
add esp, 0x1c
push 0xfffffffffffffffb
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push 0x57
push esi
call fcn.004bc8f8
push edi
push esi
call fcn.004bcb82
add esp, 0x24
test edi, edi
je 0x4abb43
cmp dword [ebp - 0x2c], 0
jne 0x4abb43
push edi
push dword [ebp - 0xc]
push ebx
call fcn.004b6ddd
jmp 0x4ab4f7
push dword [ebp - 0xc]
push str.unknown_function:__s__
jmp 0x4ab79e
push 0
push 0
push edi
push ebx
call fcn.004a71ca
add esp, 0x10
jmp 0x4ab5f6
push ecx
push dword [edi + 0xc]
push ebx
call fcn.004ab0c1
add esp, 0xc
jmp 0x4ab5f6
inc dword [ebx + 0x6c]
push dword [ebp - 8]
mov esi, dword [eax]
call fcn.004c30e9
push 0x10
mov edi, eax
push edi
push esi
push ebx
call fcn.004ac04c
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [eax + 0x18]
push ebx
call fcn.004aaa87
push dword [ebp - 0x18]
mov esi, dword [ebp - 8]
push esi
call fcn.004c2892
push ebx
call fcn.004aa8bf
push edi
push esi
call fcn.004c474e
mov eax, dword [ebp + 8]
add esp, 0x34
add eax, 0x30
sub dword [ebp - 0x10], 1
mov dword [ebp + 8], eax
jne 0x4aba95
mov eax, dword [ebp - 0xc]
test al, 1
je 0x4abb13
inc dword [ebx + 0x6c]
push dword [ebp + 0x10]
imul ecx, eax, 0x18
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push dword [ecx + eax - 0x18]
push ebx
call fcn.004aaa87
push ebx
call fcn.004aa8bf
add esp, 0x10
jmp 0x4abb25
push 0
push dword [ebp + 0x10]
push 0
push 0x4d
push esi
call fcn.004bc89c
add esp, 0x14
push dword [ebp - 0x18]
push esi
call fcn.004c474e
jmp 0x4ab2a0
push 0
push ecx
push 0
push 0x4d
push esi
call fcn.004bc89c
add esp, 0x14
mov edi, dword [ebp - 4]
push dword [ebp - 0x1c]
push ebx
call fcn.004b6e07
push dword [ebp - 0x28]
push ebx
call fcn.004b6e07
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret