Function at 0x4f55f0
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 0x4f5632
movzx ebx, byte [ebp]
lea eax, [ebx - 0x13]
mov dword [esp + 0x24], ebx
cmp eax, 0xa2
ja case.0x4f564b.21
movzx eax, byte [eax + 0x4f64e0]
jmp dword [eax*4 + 0x4f6468]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0xa8], ebp
jmp 0x4f5625
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 0x4f5685
mov eax, dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [edx + 1], 0
je case.0x4f564b.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.0051a430
mov eax, dword [esp + 0x24]
add esp, 0x14
movzx eax, word [eax + 0x10]
test ax, ax
js 0x4f645b
movsx ecx, ax
mov eax, dword [edi + 4]
add ecx, ecx
cmp byte [eax + ecx*8 + 8], 0x45
jne 0x4f645b
push ebx
push 0x56
push esi
call fcn.0051a370
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 0x4f574d
push dword [esp + 0xac]
push dword [ebp + 0xc]
push edi
call fcn.004f55f0
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x4f571d
movsx eax, word [ebp + 0x20]
push eax
push ecx
call fcn.00515dd0
add esp, 8
movsx eax, al
jmp 0x4f5721
movsx eax, byte [ebp + 1]
cmp eax, 0x41
jle 0x4f5740
push 0xffffffffffffffff
lea eax, [eax*2 + 0x572480]
push eax
push 0
push 1
push edi
push 0x5f
push esi
call fcn.0051a490
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test ecx, ecx
jns 0x4f5826
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x4f5825
movsx edx, word [ebp + 0x20]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
test edx, edx
jns 0x4f577f
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.00515e30
movsx ebp, ax
add esp, 8
movzx eax, word [ebx + 0xe]
sub ebp, dword [edi + 0x34]
test al, 0x60
je 0x4f57f5
test eax, 0x100
je 0x4f57c3
push dword [ebx]
push str.generated_column_loop_on___s_
push edi
call fcn.004f3220
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 0x4f57df
push ebp
push ebx
push dword [esp + 0x18]
push edi
call fcn.004f4220
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 0x4f57e8
mov ebx, dword [esp + 0xac]
push ebx
push ebp
push 0x50
push esi
call fcn.0051a3d0
push ebx
push 0x56
push esi
call fcn.0051a370
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.004f4360
add esp, 0x18
mov edi, eax
cmp dword [ebp + 0x2c], 0
jne 0x4f585e
cmp byte [ebp + 1], 0x45
jne 0x4f585e
push edi
push 0x56
push esi
call fcn.0051a370
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.004b0a40
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.004f86f0
add esp, 4
push eax
push 0x47
jmp 0x4f6452
mov ebx, dword [esp + 0xac]
push ebx
push 0
push dword [ebp + 8]
push esi
call fcn.004b0bd0
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.00523130
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.00515b60
mov ebp, dword [esp + 0x2c]
lea edi, [eax - 1]
push edi
push esi
push dword [ebp]
call fcn.00503b80
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.0051a490
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.0051a3d0
mov eax, dword [ebp + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x4f645b
movsx eax, word [ebp + 0x20]
mov esi, dword [edi + 0xe0]
push eax
push esi
call fcn.00519e90
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
mov dword [esi], 0
call fcn.0051a790
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.004f55f0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f59c2
push ebx
push edi
push 0x50
push esi
call fcn.0051a3d0
add esp, 0x10
mov edi, ebx
push 0
push dword [ebp + 8]
call fcn.004e5e50
movsx eax, al
push eax
push ebx
push 0x57
push esi
call fcn.0051a3d0
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.004f7ad0
add esp, 4
test eax, eax
je 0x4f5a3a
push edx
push ebx
push dword [esp + 0xb4]
push ebp
push edi
call fcn.004b1710
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.004f6590
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.004f6590
mov ebx, dword [esp + 0xc4]
push ebx
push 1
push 0x47
push esi
mov dword [esp + 0x54], eax
call fcn.0051a3d0
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.004afe60
add esp, 0x4c
cmp dword [esp + 0x20], 0x80
jne 0x4f5abf
push ebx
push 0
push 0x47
push esi
call fcn.0051a3d0
add esp, 0x10
jmp 0x4f5c62
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x24]
push 0x5b
push esi
call fcn.0051a430
add esp, 0x14
jmp 0x4f5c62
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004f6590
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
push edi
call fcn.004f6590
push dword [esp + 0xc4]
push esi
push eax
push ebx
push dword [esp + 0x50]
call fcn.0051a430
add esp, 0x2c
jmp 0x4f5c62
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0x9b
jne 0x4f5b3c
mov ebx, dword [esp + 0xac]
push ebx
push 1
push eax
push edi
call fcn.004b0a40
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp cl, 0x99
jne 0x4f5b64
mov ebx, dword [esp + 0xac]
push ebx
push 1
push dword [eax + 8]
push esi
call fcn.004b0bd0
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.004f6590
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004f6590
push dword [esp + 0xc4]
push esi
push eax
push 0x6b
push dword [esp + 0x50]
call fcn.0051a430
add esp, 0x2c
jmp 0x4f5c62
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004f6590
push dword [esp + 0xb8]
push eax
push ebx
push esi
call fcn.0051a3d0
add esp, 0x1c
jmp 0x4f5c62
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004f6590
push dword [ebp + 0x10]
mov edx, eax
call fcn.004f86f0
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.0051a560
add esp, 0x28
jmp 0x4f5c62
mov ebx, dword [esp + 0xac]
push ebx
push 1
push 0x47
push esi
call fcn.0051a3d0
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004f6590
push eax
push dword [esp + 0x44]
push esi
call fcn.0051a370
push ebx
mov ebx, dword [esp + 0x54]
mov esi, eax
push 0
push 0x47
push ebx
call fcn.0051a3d0
push esi
push ebx
call fcn.00522e50
add esp, 0x40
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4f5c7e
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f5c7e
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f6434
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4f6434
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 0x4f5ce1
movzx ecx, word [ebp + 0x22]
test cx, cx
js 0x4f5ce1
movsx ecx, cx
cmp ecx, dword [eax + 0x2c]
jge 0x4f5ce1
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.004f3220
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 0x4f5d31
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 0x4f5d5e
push ebp
call fcn.004f78f0
add esp, 4
test eax, eax
je 0x4f5d5a
push 0xffffffffffffffff
push ebp
push edi
call fcn.004f5460
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 0x4f5d6d
mov eax, dword [eax]
jmp 0x4f5d6f
xor eax, eax
push 0
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push eax
push dword [ebp + 8]
push ecx
call fcn.004f8880
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4f5f87
cmp dword [ebx + 0x14], 0
jne 0x4f5f87
mov eax, dword [ebx + 4]
test eax, 0x400000
je 0x4f5dca
push dword [esp + 0xac]
push dword [ebx + 8]
push dword [esp + 0x20]
push edi
call fcn.004b78a0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
test eax, 0x280000
je 0x4f5ddc
push ebx
push ebp
push edi
call fcn.004f6ed0
add esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x4f5e5a
mov ebp, dword [esp + 0x18]
lea ebx, [eax + 1]
mov esi, dword [esp + 0x2c]
add ebp, 8
cmp eax, 0x20
jge 0x4f5e18
push dword [ebp]
call fcn.004f78a0
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4f5e18
or dword [esp + 0x24], ebx
test byte [esi + 4], 0x20
je 0x4f5e3d
cmp dword [esp + 0x10], 0
jne 0x4f5e3d
push dword [ebp]
push edi
call fcn.004f66b0
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 0x4f5df8
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4f5ec5
cmp dword [esp + 0x24], 0
je 0x4f5e7a
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x2c], eax
jmp 0x4f5e8a
push ecx
push edi
call fcn.00502db0
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, eax
test byte [ebx + 4], 0xc0
mov ecx, dword [esp + 0x18]
je 0x4f5eb0
mov eax, dword [ecx + 8]
mov al, byte [eax]
cmp al, 0xa7
je 0x4f5ea1
cmp al, 0xa9
jne 0x4f5eb0
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.004f3fa0
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x4f5ecd
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x4f5ef1
test byte [ebp + 4], 0x80
je 0x4f5ef1
push dword [edx + 0x1c]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.00527300
add esp, 0x10
mov ebx, eax
jmp 0x4f5f0e
test eax, eax
jle 0x4f5f0a
push dword [edx + 8]
push eax
push ebx
push dword [esp + 0x2c]
call fcn.00527300
add esp, 0x10
mov ebx, eax
jmp 0x4f5f0e
mov ebx, dword [esp + 0x2c]
test byte [ebx + 4], 0x20
je 0x4f5f37
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f5f23
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.0051a490
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.0051a270
add esp, 0x1c
test esi, esi
je 0x4f645b
cmp dword [esp + 0x24], 0
jne 0x4f645b
push esi
push ebp
push edi
call fcn.0050fa70
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.004f3220
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 0x4f57b6
cmp ebx, 0x8a
jne 0x4f5fef
test dword [ebp + 4], 0x800
je 0x4f5fef
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x4f5fef
push 1
push eax
push edi
call fcn.00515be0
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.004edde0
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 0x4f601c
push eax
push edi
call fcn.004edde0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
push dword [ebp + 0xc]
call fcn.004f8750
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, eax
je 0x4f603e
push eax
push ecx
push str._d_columns_assigned__d_values
push edi
call fcn.004f3220
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.0051a3d0
push edi
push esi
push ebp
push ebx
call fcn.004f4520
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x48]
push ebx
push 1
push 0x47
push ebp
call fcn.0051a3d0
push esi
push ebp
call fcn.00525570
push 0
push ebx
push 0x55
push ebp
call fcn.0051a3d0
add esp, 0x48
push edi
push ebp
call fcn.00525570
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.004b7740
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.00515e30
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.0051a3d0
add esp, 0x10
test edi, edi
js 0x4f6434
mov eax, dword [esp + 0x10]
add edi, edi
mov eax, dword [eax + 4]
cmp byte [eax + edi*8 + 8], 0x45
jne 0x4f6434
push ebx
push 0x56
push esi
call fcn.0051a370
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.004f3220
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.0051a370
push dword [esp + 0xb8]
mov byte [edi + 0x17], 0
mov esi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f55f0
mov byte [edi + 0x17], bl
mov ebx, dword [esp + 0x40]
push esi
push ebx
mov dword [esp + 0xcc], eax
call fcn.00522e50
push dword [esp + 0xcc]
push esi
push ebx
call fcn.0051a910
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 0x4f6289
push edx
push ebp
push ebx
call fcn.004f6d20
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
cmp byte [eax + 0x57], 0
je 0x4f6250
test ebx, ebx
je 0x4f6434
push ebx
push eax
call fcn.004f6c70
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.004b7b20
push eax
push ebx
call fcn.004b8f00
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 0x4f631e
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x4f62b1
mov eax, dword [eax]
mov dword [esp + 0x48], eax
jmp 0x4f62b7
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.004f6f90
mov eax, dword [esp + 0x30]
push ebx
push dword [eax + 0x14]
push edi
call fcn.004f3f00
push dword [esp + 0x44]
push esi
call fcn.00522760
mov ecx, dword [esi + 0xc]
add esp, 0x24
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f62fc
push ebp
push esi
push ecx
call fcn.004e0f70
add esp, 0xc
jmp 0x4f6305
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 0x4f62a5
mov eax, dword [esp + 0x1c]
push ebx
test al, 1
je 0x4f633d
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 - 0xc]
push edi
call fcn.004f3f00
add esp, 0xc
jmp 0x4f634a
push 0
push 0x4a
push esi
call fcn.0051a3d0
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f635f
push eax
push dword [esp + 0x1c]
call fcn.004f6c70
add esp, 8
push esi
call fcn.004e4c10
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 0x4f6396
push edx
push esi
push ecx
call fcn.004e0f70
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 0x4f63d6
cmp byte [edi + 0x12], dl
jne 0x4f63d6
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.004f3220
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp byte [ebp + 1], 2
jne 0x4f63e5
push edi
call fcn.00507c50
add esp, 4
mov al, byte [ebp + 1]
push 0
cmp al, 4
jne 0x4f6414
push dword [ebp + 8]
push 0
push 4
push 0
push 0x46
push esi
call fcn.0051a490
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.00503850
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.0051a3d0
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x90
ret