Function at 0x526610
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 0x526652
movzx ebx, byte [ebp]
lea eax, [ebx - 0x13]
mov dword [esp + 0x24], ebx
cmp eax, 0xa2
ja case.0x52666b.21
movzx eax, byte [eax + 0x527500]
jmp dword [eax*4 + 0x527488]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0xa8], ebp
jmp 0x526645
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 0x5266a5
mov eax, dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [edx + 1], 0
je case.0x52666b.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.0054b450
mov eax, dword [esp + 0x24]
add esp, 0x14
movzx eax, word [eax + 0x10]
test ax, ax
js 0x52747b
movsx ecx, ax
mov eax, dword [edi + 4]
add ecx, ecx
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x52747b
push ebx
push 0x56
push esi
call fcn.0054b390
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 0x52676d
push dword [esp + 0xac]
push dword [ebp + 0xc]
push edi
call fcn.00526610
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x52673d
movsx eax, word [ebp + 0x20]
push eax
push ecx
call fcn.00546df0
add esp, 8
movsx eax, al
jmp 0x526741
movsx eax, byte [ebp + 1]
cmp eax, 0x41
jle 0x526760
push 0xffffffffffffffff
lea eax, [eax*2 + 0x59d3e0]
push eax
push 0
push 1
push edi
push 0x5f
push esi
call fcn.0054b4b0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test ecx, ecx
jns 0x526846
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x526845
movsx edx, word [ebp + 0x20]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
test edx, edx
jns 0x52679f
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.00546e50
movsx ebp, ax
add esp, 8
movzx eax, word [ebx + 0xe]
sub ebp, dword [edi + 0x34]
test al, 0x60
je 0x526815
test eax, 0x100
je 0x5267e3
push dword [ebx]
push str.generated_column_loop_on___s_
push edi
call fcn.00524240
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 0x5267ff
push ebp
push ebx
push dword [esp + 0x18]
push edi
call fcn.00525240
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 0x526808
mov ebx, dword [esp + 0xac]
push ebx
push ebp
push 0x50
push esi
call fcn.0054b3f0
push ebx
push 0x56
push esi
call fcn.0054b390
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.00525380
add esp, 0x18
mov edi, eax
cmp dword [ebp + 0x2c], 0
jne 0x52687e
cmp byte [ebp + 1], 0x45
jne 0x52687e
push edi
push 0x56
push esi
call fcn.0054b390
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.004e1a60
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.00529710
add esp, 4
push eax
push 0x47
jmp 0x527472
mov ebx, dword [esp + 0xac]
push ebx
push 0
push dword [ebp + 8]
push esi
call fcn.004e1bf0
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.00554150
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.00546b80
mov ebp, dword [esp + 0x2c]
lea edi, [eax - 1]
push edi
push esi
push dword [ebp]
call fcn.00534ba0
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.0054b4b0
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.0054b3f0
mov eax, dword [ebp + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x52747b
movsx eax, word [ebp + 0x20]
mov esi, dword [edi + 0xe0]
push eax
push esi
call fcn.0054aeb0
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
mov dword [esi], 0
call fcn.0054b7b0
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.00526610
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x5269e2
push ebx
push edi
push 0x50
push esi
call fcn.0054b3f0
add esp, 0x10
mov edi, ebx
push 0
push dword [ebp + 8]
call fcn.00516e70
movsx eax, al
push eax
push ebx
push 0x57
push esi
call fcn.0054b3f0
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.00528af0
add esp, 4
test eax, eax
je 0x526a5a
push edx
push ebx
push dword [esp + 0xb4]
push ebp
push edi
call fcn.004e2730
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.005275b0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.005275b0
mov ebx, dword [esp + 0xc4]
push ebx
push 1
push 0x47
push esi
mov dword [esp + 0x54], eax
call fcn.0054b3f0
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.004e0e80
add esp, 0x4c
cmp dword [esp + 0x20], 0x80
jne 0x526adf
push ebx
push 0
push 0x47
push esi
call fcn.0054b3f0
add esp, 0x10
jmp 0x526c82
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x24]
push 0x5b
push esi
call fcn.0054b450
add esp, 0x14
jmp 0x526c82
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.005275b0
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.005275b0
push dword [esp + 0xc4]
push esi
push eax
push ebx
push dword [esp + 0x50]
call fcn.0054b450
add esp, 0x2c
jmp 0x526c82
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0x9b
jne 0x526b5c
mov ebx, dword [esp + 0xac]
push ebx
push 1
push eax
push edi
call fcn.004e1a60
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp cl, 0x99
jne 0x526b84
mov ebx, dword [esp + 0xac]
push ebx
push 1
push dword [eax + 8]
push esi
call fcn.004e1bf0
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.005275b0
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.005275b0
push dword [esp + 0xc4]
push esi
push eax
push 0x6b
push dword [esp + 0x50]
call fcn.0054b450
add esp, 0x2c
jmp 0x526c82
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.005275b0
push dword [esp + 0xb8]
push eax
push ebx
push esi
call fcn.0054b3f0
add esp, 0x1c
jmp 0x526c82
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.005275b0
push dword [ebp + 0x10]
mov edx, eax
call fcn.00529710
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.0054b580
add esp, 0x28
jmp 0x526c82
mov ebx, dword [esp + 0xac]
push ebx
push 1
push 0x47
push esi
call fcn.0054b3f0
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.005275b0
push eax
push dword [esp + 0x44]
push esi
call fcn.0054b390
push ebx
mov ebx, dword [esp + 0x54]
mov esi, eax
push 0
push 0x47
push ebx
call fcn.0054b3f0
push esi
push ebx
call fcn.00553e70
add esp, 0x40
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x526c9e
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x526c9e
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x527454
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x527454
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 0x526d01
movzx ecx, word [ebp + 0x22]
test cx, cx
js 0x526d01
movsx ecx, cx
cmp ecx, dword [eax + 0x2c]
jge 0x526d01
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.00524240
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 0x526d51
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 0x526d7e
push ebp
call fcn.00528910
add esp, 4
test eax, eax
je 0x526d7a
push 0xffffffffffffffff
push ebp
push edi
call fcn.00526480
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 0x526d8d
mov eax, dword [eax]
jmp 0x526d8f
xor eax, eax
push 0
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push eax
push dword [ebp + 8]
push ecx
call fcn.005298a0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x526fa7
cmp dword [ebx + 0x14], 0
jne 0x526fa7
mov eax, dword [ebx + 4]
test eax, 0x400000
je 0x526dea
push dword [esp + 0xac]
push dword [ebx + 8]
push dword [esp + 0x20]
push edi
call fcn.004e88c0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test eax, 0x280000
je 0x526dfc
push ebx
push ebp
push edi
call fcn.00527ef0
add esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x526e7a
mov ebp, dword [esp + 0x18]
lea ebx, [eax + 1]
mov esi, dword [esp + 0x2c]
add ebp, 8
cmp eax, 0x20
jge 0x526e38
push dword [ebp]
call fcn.005288c0
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x526e38
or dword [esp + 0x24], ebx
test byte [esi + 4], 0x20
je 0x526e5d
cmp dword [esp + 0x10], 0
jne 0x526e5d
push dword [ebp]
push edi
call fcn.005276d0
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 0x526e18
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x526ee5
cmp dword [esp + 0x24], 0
je 0x526e9a
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x2c], eax
jmp 0x526eaa
push ecx
push edi
call fcn.00533dd0
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, eax
test byte [ebx + 4], 0xc0
mov ecx, dword [esp + 0x18]
je 0x526ed0
mov eax, dword [ecx + 8]
mov al, byte [eax]
cmp al, 0xa7
je 0x526ec1
cmp al, 0xa9
jne 0x526ed0
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.00524fc0
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x526eed
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x526f11
test byte [ebp + 4], 0x80
je 0x526f11
push dword [edx + 0x1c]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.00558320
add esp, 0x10
mov ebx, eax
jmp 0x526f2e
test eax, eax
jle 0x526f2a
push dword [edx + 8]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.00558320
add esp, 0x10
mov ebx, eax
jmp 0x526f2e
mov ebx, dword [esp + 0x2c]
test byte [ebx + 4], 0x20
je 0x526f57
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x526f43
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.0054b4b0
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.0054b290
add esp, 0x1c
test esi, esi
je 0x52747b
cmp dword [esp + 0x24], 0
jne 0x52747b
push esi
push ebp
push edi
call fcn.00540a90
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.00524240
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 0x5267d6
cmp ebx, 0x8a
jne 0x52700f
test dword [ebp + 4], 0x800
je 0x52700f
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x52700f
push 1
push eax
push edi
call fcn.00546c00
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.0051ee00
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 0x52703c
push eax
push edi
call fcn.0051ee00
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
push dword [ebp + 0xc]
call fcn.00529770
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, eax
je 0x52705e
push eax
push ecx
push str._d_columns_assigned__d_values
push edi
call fcn.00524240
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.0054b3f0
push edi
push esi
push ebp
push ebx
call fcn.00525540
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x48]
push ebx
push 1
push 0x47
push ebp
call fcn.0054b3f0
push esi
push ebp
call fcn.00556590
push 0
push ebx
push 0x55
push ebp
call fcn.0054b3f0
add esp, 0x48
push edi
push ebp
call fcn.00556590
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.004e8760
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.00546e50
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.0054b3f0
add esp, 0x10
test edi, edi
js 0x527454
mov eax, dword [esp + 0x10]
add edi, edi
mov eax, dword [eax + 4]
cmp byte [eax + edi*8 + 8], 0x45
jne 0x527454
push ebx
push 0x56
push esi
call fcn.0054b390
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.00524240
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.0054b390
push dword [esp + 0xb8]
mov byte [edi + 0x17], 0
mov esi, eax
push dword [ebp + 0xc]
push edi
call fcn.00526610
mov byte [edi + 0x17], bl
mov ebx, dword [esp + 0x40]
push esi
push ebx
mov dword [esp + 0xcc], eax
call fcn.00553e70
push dword [esp + 0xcc]
push esi
push ebx
call fcn.0054b930
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 0x5272a9
push edx
push ebp
push ebx
call fcn.00527d40
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x57], 0
je 0x527270
test ebx, ebx
je 0x527454
push ebx
push eax
call fcn.00527c90
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.004e8b40
push eax
push ebx
call fcn.004e9f20
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 0x52733e
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x5272d1
mov eax, dword [eax]
mov dword [esp + 0x48], eax
jmp 0x5272d7
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.00527fb0
mov eax, dword [esp + 0x30]
push ebx
push dword [eax + 0x14]
push edi
call fcn.00524f20
push dword [esp + 0x44]
push esi
call fcn.00553780
mov ecx, dword [esi + 0xc]
add esp, 0x24
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x52731c
push ebp
push esi
push ecx
call fcn.00511f90
add esp, 0xc
jmp 0x527325
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 0x5272c5
mov eax, dword [esp + 0x1c]
push ebx
test al, 1
je 0x52735d
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 - 0xc]
push edi
call fcn.00524f20
add esp, 0xc
jmp 0x52736a
push 0
push 0x4a
push esi
call fcn.0054b3f0
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x52737f
push eax
push dword [esp + 0x1c]
call fcn.00527c90
add esp, 8
push esi
call fcn.00515c30
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 0x5273b6
push edx
push esi
push ecx
call fcn.00511f90
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 0x5273f6
cmp byte [edi + 0x12], dl
jne 0x5273f6
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.00524240
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [ebp + 1], 2
jne 0x527405
push edi
call fcn.00538c70
add esp, 4
mov al, byte [ebp + 1]
push 0
cmp al, 4
jne 0x527434
push dword [ebp + 8]
push 0
push 4
push 0
push 0x46
push esi
call fcn.0054b4b0
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.00534870
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.0054b3f0
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x90
ret