Function at 0x4edf60
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
xor edx, edx
push esi
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edx
mov esi, dword [edi + 8]
mov dword [esp + 0x28], esi
mov ebx, 0x79
test ebp, ebp
je 0x4edfa2
movzx ebx, byte [ebp]
lea eax, [ebx - 0x13]
mov dword [esp + 0x24], ebx
cmp eax, 0xa2
ja case.0x4edfbb.21
movzx eax, byte [eax + 0x4eee50]
jmp dword [eax*4 + 0x4eedd8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0xa8], ebp
jmp 0x4edf95
movsx eax, word [ebp + 0x22]
mov edx, dword [ebp + 0x28]
lea ecx, [eax + eax*4]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov dword [esp + 0x10], eax
jne 0x4edff5
mov eax, dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [edx + 1], 0
je case.0x4edfbb.167
mov edi, dword [eax]
mov ebx, dword [esp + 0xac]
movsx eax, word [eax + 0x12]
push ebx
push eax
push dword [edx + 8]
push 0x5d
push esi
call fcn.00512da0
mov eax, dword [esp + 0x24]
add esp, 0x14
movzx eax, word [eax + 0x10]
test ax, ax
js 0x4eedcb
movsx ecx, ax
mov eax, dword [edi + 4]
add ecx, ecx
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4eedcb
push ebx
push 0x56
push esi
call fcn.00512ce0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test byte [ebp + 4], 8
mov ecx, dword [ebp + 0x1c]
je 0x4ee0bd
push dword [esp + 0xac]
push dword [ebp + 0xc]
push edi
call fcn.004edf60
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x4ee08d
movsx eax, word [ebp + 0x20]
push eax
push ecx
call fcn.0050e740
add esp, 8
movsx eax, al
jmp 0x4ee091
movsx eax, byte [ebp + 1]
cmp eax, 0x41
jle 0x4ee0b0
push 0xffffffffffffffff
lea eax, [eax*2 + 0x56ad90]
push eax
push 0
push 1
push edi
push 0x5f
push esi
call fcn.00512e00
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test ecx, ecx
jns 0x4ee196
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x4ee195
movsx edx, word [ebp + 0x20]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
test edx, edx
jns 0x4ee0ef
pop edi
pop esi
or eax, 0xffffffff
pop ebp
sub eax, ecx
pop ebx
add esp, 0x90
ret
mov ebx, edx
push edx
shl ebx, 4
add ebx, dword [eax + 4]
push eax
call fcn.0050e7a0
movsx ebp, ax
add esp, 8
movzx eax, word [ebx + 0xe]
sub ebp, dword [edi + 0x34]
test al, 0x60
je 0x4ee165
test eax, 0x100
je 0x4ee133
push dword [ebx]
push str.generated_column_loop_on___s_
push edi
call fcn.004ebb90
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
or eax, 0x100
mov word [ebx + 0xe], ax
test al, al
jns 0x4ee14f
push ebp
push ebx
push dword [esp + 0x18]
push edi
call fcn.004ecb90
add esp, 0x10
mov eax, 0xfe7f
and word [ebx + 0xe], ax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [ebx + 8], 0x45
jne 0x4ee158
mov ebx, dword [esp + 0xac]
push ebx
push ebp
push 0x50
push esi
call fcn.00512d40
push ebx
push 0x56
push esi
call fcn.00512ce0
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
dec ecx
movzx eax, byte [ebp + 2]
push eax
push dword [esp + 0xb0]
movsx eax, word [ebp + 0x20]
push ecx
push eax
push dword [ebp + 0x2c]
push edi
call fcn.004eccd0
add esp, 0x18
mov edi, eax
cmp dword [ebp + 0x2c], 0
jne 0x4ee1ce
cmp byte [ebp + 1], 0x45
jne 0x4ee1ce
push edi
push 0x56
push esi
call fcn.00512ce0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
push ebx
push 0
push ebp
push edi
call fcn.004a93b0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
push ebx
push ebp
call fcn.004f1060
add esp, 4
push eax
push 0x47
jmp 0x4eedc2
mov ebx, dword [esp + 0xac]
push ebx
push 0
push dword [ebp + 8]
push esi
call fcn.004a9540
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push dword [ebp + 8]
mov ebx, dword [esp + 0xb0]
push ebx
push esi
call fcn.0051baa0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov esi, dword [ebp + 8]
add esi, 2
push esi
call fcn.0050e4d0
mov ebp, dword [esp + 0x2c]
lea edi, [eax - 1]
push edi
push esi
push dword [ebp]
call fcn.004fc4f0
mov ebx, dword [esp + 0xbc]
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
push 0
sub eax, edx
push ebx
sar eax, 1
push eax
push 0x4c
push ebp
call fcn.00512e00
add esp, 0x2c
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
movsx eax, word [ebp + 0x20]
push ebx
push eax
push 0x4d
push esi
call fcn.00512d40
mov eax, dword [ebp + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x4eedcb
movsx eax, word [ebp + 0x20]
mov esi, dword [edi + 0xe0]
push eax
push esi
call fcn.00512800
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
mov dword [esi], 0
call fcn.00513100
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.004edf60
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4ee332
push ebx
push edi
push 0x50
push esi
call fcn.00512d40
add esp, 0x10
mov edi, ebx
push 0
push dword [ebp + 8]
call fcn.004de7c0
movsx eax, al
push eax
push ebx
push 0x57
push esi
call fcn.00512d40
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
xor eax, eax
mov edx, pe_nt_image_headers32
cmp ebx, 0x2d
mov dword [esp + 0x20], edx
sete al
lea ebx, [eax + 0x34]
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0xc]
push eax
mov dword [esp + 0x14], eax
call fcn.004f0440
add esp, 4
test eax, eax
je 0x4ee3aa
push edx
push ebx
push dword [esp + 0xb4]
push ebp
push edi
call fcn.004aa080
mov eax, dword [esp + 0xc0]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push edi
call fcn.004eef00
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.004eef00
mov ebx, dword [esp + 0xc4]
push ebx
push 1
push 0x47
push esi
mov dword [esp + 0x54], eax
call fcn.00512d40
mov eax, dword [ebp + 4]
shr eax, 9
and eax, 1
push eax
push dword [esp + 0x4c]
mov eax, dword [esi + 0x74]
add eax, 2
push eax
push dword [esp + 0x60]
push dword [esp + 0x54]
push dword [esp + 0x60]
push dword [ebp + 0x10]
push dword [esp + 0x54]
push edi
call fcn.004a87d0
add esp, 0x4c
cmp dword [esp + 0x20], 0x80
jne 0x4ee42f
push ebx
push 0
push 0x47
push esi
call fcn.00512d40
add esp, 0x10
jmp 0x4ee5d2
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x24]
push 0x5b
push esi
call fcn.00512da0
add esp, 0x14
jmp 0x4ee5d2
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004eef00
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.004eef00
push dword [esp + 0xc4]
push esi
push eax
push ebx
push dword [esp + 0x50]
call fcn.00512da0
add esp, 0x2c
jmp 0x4ee5d2
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0x9b
jne 0x4ee4ac
mov ebx, dword [esp + 0xac]
push ebx
push 1
push eax
push edi
call fcn.004a93b0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp cl, 0x99
jne 0x4ee4d4
mov ebx, dword [esp + 0xac]
push ebx
push 1
push dword [eax + 8]
push esi
call fcn.004a9540
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x14]
mov byte [esp + 0x6c], 0x9b
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0x4400
push eax
push edi
mov dword [esp + 0x80], edx
call fcn.004eef00
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004eef00
push dword [esp + 0xc4]
push esi
push eax
push 0x6b
push dword [esp + 0x50]
call fcn.00512da0
add esp, 0x2c
jmp 0x4ee5d2
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004eef00
push dword [esp + 0xb8]
push eax
push ebx
push esi
call fcn.00512d40
add esp, 0x1c
jmp 0x4ee5d2
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004eef00
push dword [ebp + 0x10]
mov edx, eax
call fcn.004f1060
mov ecx, eax
xor eax, eax
cmp byte [ebp + 2], 0x2d
sete al
xor eax, ecx
push eax
xor eax, eax
test ecx, ecx
sete al
push eax
push dword [esp + 0xc4]
push edx
push 0x5a
push esi
call fcn.00512ed0
add esp, 0x28
jmp 0x4ee5d2
mov ebx, dword [esp + 0xac]
push ebx
push 1
push 0x47
push esi
call fcn.00512d40
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004eef00
push eax
push dword [esp + 0x44]
push esi
call fcn.00512ce0
push ebx
mov ebx, dword [esp + 0x54]
mov esi, eax
push 0
push 0x47
push ebx
call fcn.00512d40
push esi
push ebx
call fcn.0051b7c0
add esp, 0x40
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ee5ee
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4ee5ee
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4eeda4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4eeda4
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4ee651
movzx ecx, word [ebp + 0x22]
test cx, cx
js 0x4ee651
movsx ecx, cx
cmp ecx, dword [eax + 0x2c]
jge 0x4ee651
mov eax, dword [eax + 0x28]
lea ecx, [ecx + ecx*4]
pop edi
pop esi
pop ebp
mov eax, dword [eax + ecx*4 + 8]
pop ebx
add esp, 0x90
ret
push ebp
push str.misuse_of_aggregate:__T__
push edi
call fcn.004ebb90
mov eax, dword [esp + 0xb8]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test dword [ebp + 4], 0x1000000
mov ecx, dword [edi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov al, byte [ecx + 0x54]
mov byte [esp + 0x2c], al
je 0x4ee6a1
mov eax, dword [ebp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, dword [eax + 0x38]
pop ebx
add esp, 0x90
ret
cmp byte [edi + 0x17], dl
je 0x4ee6ce
push ebp
call fcn.004f0260
add esp, 4
test eax, eax
je 0x4ee6ca
push 0xffffffffffffffff
push ebp
push edi
call fcn.004eddd0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ee6dd
mov eax, dword [eax]
jmp 0x4ee6df
xor eax, eax
push 0
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push eax
push dword [ebp + 8]
push ecx
call fcn.004f11f0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4ee8f7
cmp dword [ebx + 0x14], 0
jne 0x4ee8f7
mov eax, dword [ebx + 4]
test eax, 0x400000
je 0x4ee73a
push dword [esp + 0xac]
push dword [ebx + 8]
push dword [esp + 0x20]
push edi
call fcn.004b0210
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test eax, 0x280000
je 0x4ee74c
push ebx
push ebp
push edi
call fcn.004ef840
add esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x4ee7ca
mov ebp, dword [esp + 0x18]
lea ebx, [eax + 1]
mov esi, dword [esp + 0x2c]
add ebp, 8
cmp eax, 0x20
jge 0x4ee788
push dword [ebp]
call fcn.004f0210
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4ee788
or dword [esp + 0x24], ebx
test byte [esi + 4], 0x20
je 0x4ee7ad
cmp dword [esp + 0x10], 0
jne 0x4ee7ad
push dword [ebp]
push edi
call fcn.004ef020
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc eax
rol ebx, 1
add ebp, 0x14
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x4ee768
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4ee835
cmp dword [esp + 0x24], 0
je 0x4ee7ea
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x2c], eax
jmp 0x4ee7fa
push ecx
push edi
call fcn.004fb720
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, eax
test byte [ebx + 4], 0xc0
mov ecx, dword [esp + 0x18]
je 0x4ee820
mov eax, dword [ecx + 8]
mov al, byte [eax]
cmp al, 0xa7
je 0x4ee811
cmp al, 0xa9
jne 0x4ee820
mov esi, dword [ecx + 8]
mov al, byte [ebx + 4]
and al, 0xc0
mov byte [esi + 2], al
mov esi, dword [esp + 0x28]
push 3
push 0
push edx
push ecx
push edi
call fcn.004ec910
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x4ee83d
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x4ee861
test byte [ebp + 4], 0x80
je 0x4ee861
push dword [edx + 0x1c]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.0051fc70
add esp, 0x10
mov ebx, eax
jmp 0x4ee87e
test eax, eax
jle 0x4ee87a
push dword [edx + 8]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.0051fc70
add esp, 0x10
mov ebx, eax
jmp 0x4ee87e
mov ebx, dword [esp + 0x2c]
test byte [ebx + 4], 0x20
je 0x4ee8a7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4ee893
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
push 0x54
push esi
call fcn.00512e00
add esp, 0x1c
movzx eax, byte [ebp + 2]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
push eax
push ebx
mov ebx, dword [esp + 0xb4]
push esi
push ebx
push ebp
push dword [esp + 0x38]
push edi
call fcn.00512be0
add esp, 0x1c
test esi, esi
je 0x4eedcb
cmp dword [esp + 0x24], 0
jne 0x4eedcb
push esi
push ebp
push edi
call fcn.005083e0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push ebp
push str.unknown_function:__T__
push edi
call fcn.004ebb90
mov eax, dword [esp + 0xb8]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [edi]
cmp byte [eax + 0x57], dl
jne 0x4ee126
cmp ebx, 0x8a
jne 0x4ee95f
test dword [ebp + 4], 0x800
je 0x4ee95f
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4ee95f
push 1
push eax
push edi
call fcn.0050e550
mov eax, dword [esp + 0xb8]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push ebp
push edi
call fcn.004e6750
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], edx
jne 0x4ee98c
push eax
push edi
call fcn.004e6750
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
push dword [ebp + 0xc]
call fcn.004f10c0
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, eax
je 0x4ee9ae
push eax
push ecx
push str._d_columns_assigned__d_values
push edi
call fcn.004ebb90
add esp, 0x10
mov eax, dword [ebp + 0xc]
movsx ecx, word [ebp + 0x20]
pop edi
pop esi
add ecx, dword [eax + 0x1c]
pop ebp
mov eax, ecx
pop ebx
add esp, 0x90
ret
mov esi, dword [edi + 0x38]
push dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
dec esi
push 0
push 0x4a
push dword [esp + 0x34]
lea edi, [esi - 1]
mov dword [ebx + 0x38], edi
call fcn.00512d40
push edi
push esi
push ebp
push ebx
call fcn.004ece90
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x48]
push ebx
push 1
push 0x47
push ebp
call fcn.00512d40
push esi
push ebp
call fcn.0051dee0
push 0
push ebx
push 0x55
push ebp
call fcn.00512d40
add esp, 0x48
push edi
push ebp
call fcn.0051dee0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
push 0
push 0
push ebx
push ebp
push edi
call fcn.004b00b0
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
movsx edi, word [ebp + 0x20]
mov eax, dword [ebp + 0x2c]
push ebx
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.0050e7a0
movsx ecx, ax
add esp, 8
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x22]
inc eax
imul eax, dword [ebp + 0x1c]
inc eax
add eax, ecx
push eax
push 0x9c
push esi
call fcn.00512d40
add esp, 0x10
test edi, edi
js 0x4eeda4
mov eax, dword [esp + 0x10]
add edi, edi
mov eax, dword [eax + 4]
cmp byte [eax + edi*8 + 8], 0x45
jne 0x4eeda4
push ebx
push 0x56
push esi
call fcn.00512ce0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push str.row_value_misused
push edi
call fcn.004ebb90
mov eax, dword [esp + 0xb4]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push dword [ebp + 0x1c]
mov bl, byte [edi + 0x17]
push 0x16
push esi
call fcn.00512ce0
push dword [esp + 0xb8]
mov byte [edi + 0x17], 0
mov esi, eax
push dword [ebp + 0xc]
push edi
call fcn.004edf60
mov byte [edi + 0x17], bl
mov ebx, dword [esp + 0x40]
push esi
push ebx
mov dword [esp + 0xcc], eax
call fcn.0051b7c0
push dword [esp + 0xcc]
push esi
push ebx
call fcn.00513280
mov eax, dword [esp + 0xd8]
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov ebx, dword [edi]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], edx
lea eax, [ecx + 8]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx]
dec dword [edi + 0x38]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x4eebf9
push edx
push ebp
push ebx
call fcn.004ef690
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x57], 0
je 0x4eebc0
test ebx, ebx
je 0x4eeda4
push ebx
push eax
call fcn.004ef5e0
mov eax, dword [esp + 0xb4]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.004b0490
push eax
push ebx
call fcn.004b1870
push 0x34
lea eax, [esp + 0x50]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x58]
add esp, 0x20
mov byte [esp + 0x38], 0x35
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xac]
dec ecx
test ecx, ecx
jle 0x4eec8e
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x4eec21
mov eax, dword [eax]
mov dword [esp + 0x48], eax
jmp 0x4eec27
mov edx, dword [eax]
mov dword [esp + 0x10], edx
dec dword [edi + 0x38]
mov ebp, dword [edi + 0x38]
push 0x10
push ebp
push edx
push edi
call fcn.004ef900
mov eax, dword [esp + 0x30]
push ebx
push dword [eax + 0x14]
push edi
call fcn.004ec870
push dword [esp + 0x44]
push esi
call fcn.0051b0d0
mov ecx, dword [esi + 0xc]
add esp, 0x24
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eec6c
push ebp
push esi
push ecx
call fcn.004d98e0
add esp, 0xc
jmp 0x4eec75
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebp*4], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add eax, 0x28
dec dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jne 0x4eec15
mov eax, dword [esp + 0x1c]
push ebx
test al, 1
je 0x4eecad
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 - 0xc]
push edi
call fcn.004ec870
add esp, 0xc
jmp 0x4eecba
push 0
push 0x4a
push esi
call fcn.00512d40
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4eeccf
push eax
push dword [esp + 0x1c]
call fcn.004ef5e0
add esp, 8
push esi
call fcn.004dd580
mov ecx, dword [esi + 0xc]
add esp, 4
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eed06
push edx
push esi
push ecx
call fcn.004d98e0
mov eax, dword [esp + 0xb8]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [esi + 0x74]
mov ecx, dword [ecx + 0x40]
pop edi
pop esi
pop ebp
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xa0]
pop ebx
add esp, 0x90
ret
cmp dword [edi + 0x78], edx
jne 0x4eed46
cmp byte [edi + 0x12], dl
jne 0x4eed46
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.004ebb90
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [ebp + 1], 2
jne 0x4eed55
push edi
call fcn.005005c0
add esp, 4
mov al, byte [ebp + 1]
push 0
cmp al, 4
jne 0x4eed84
push dword [ebp + 8]
push 0
push 4
push 0
push 0x46
push esi
call fcn.00512e00
mov eax, dword [esp + 0xc8]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push 0
push dword [ebp + 8]
movsx eax, al
push eax
mov eax, dword [edi + 0x78]
neg eax
sbb eax, eax
and eax, 0x712
inc eax
push eax
push edi
call fcn.004fc1c0
add esp, 0x18
mov eax, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
push ebx
push 0
push 0x4a
push esi
call fcn.00512d40
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x90
ret