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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], edx
xor eax, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0xffffffff
cmp dword [edi + 0x40], 0
mov eax, dword [edi]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x2c], eax
jne 0x541d5c
cmp byte [eax + 0x40], 0
jne 0x541d5c
call fcn.00541160
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x541d5c
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x44], edx
test dword [eax + 0x18], 0x800000
je 0x54151c
mov edx, esi
mov ecx, edi
call fcn.005589a0
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x54151e
xor eax, eax
mov ecx, eax
test eax, eax
je 0x54153b
cmp byte [ecx + 8], 0x6d
jne 0x541530
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x541524
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
mov edx, esi
cmovne ecx, eax
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [esp + 0x44], ecx
mov ecx, edi
setne al
mov dword [esp + 0x58], eax
call fcn.0053d660
test eax, eax
jne 0x541d5c
cmp dword [esp + 0x44], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.005411f0
add esp, 4
test eax, eax
jne 0x541d5c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x44]
call fcn.0054ef50
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.0053aaf0
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp eax, 1
je 0x541d5c
mov ecx, dword [esp + 0x68]
xor edx, edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x44]
test eax, eax
je 0x5415f0
nop
inc ecx
inc edx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5415e0
mov dword [esp + 0x50], edx
cmp dword [esp + 0x58], 0
je 0x54160f
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x20], edi
mov dword [edi + 0x1ec], eax
jmp 0x54161f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov ecx, edi
call fcn.00552300
mov esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x54195d
cmp byte [edi + 0x12], 0
jne 0x541641
or dword [esi + 0x58], 0x10
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.0053fd90
add esp, 4
cmp dword [esp + 0x58], 0
je 0x541680
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.00541280
mov ecx, dword [esp + 0x20]
add esp, 8
mov eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], eax
jmp 0x541684
mov eax, dword [esp + 0x78]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.005320f0
test eax, eax
jne 0x54195d
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x5416ea
inc dword [edi + 0x48]
mov edx, 0x19
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x6c], eax
call fcn.00521900
add esp, 8
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x10]
jne 0x5417b2
cmp dword [ebp + 8], 0
jne 0x5417b2
cmp dword [esp + 0x44], 0
jne 0x5417b2
test byte [ecx + 0x2c], 0x10
jne 0x5417b2
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x541739
call fcn.00545e30
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5417b2
cmp dword [ecx + 0x10], eax
jne 0x5417b2
push dword [ecx]
mov edx, dword [esp + 0x18]
push 1
push dword [ecx + 0x20]
mov ecx, edi
call fcn.0053ab80
mov eax, dword [esp + 0x1c]
add esp, 0xc
test byte [eax + 0x2c], 0x20
jne 0x54177a
push 0xfffffffffffffffe
push dword [eax]
mov edx, 0x73
mov ecx, esi
push dword [esp + 0x6c]
push dword [esp + 0x20]
push dword [eax + 0x20]
call fcn.00521970
mov eax, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x541ce9
mov edi, eax
nop dword [eax + eax]
push dword [esp + 0x14]
mov edx, 0x73
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00521900
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x541790
jmp 0x541ce5
test byte [ecx + 0x2c], 0x20
jne 0x5417e9
inc dword [edi + 0x48]
mov edx, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x84], eax
call fcn.00521900
add esp, 8
jmp 0x54183c
call fcn.0053bc30
mov dword [esp + 0x28], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov ecx, esi
mov edx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov dword [esp + 0x4c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x37
mov dword [edi + 0x44], eax
call fcn.00521900
mov edx, dword [esp + 0x30]
add esp, 8
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.00522040
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x68]
inc eax
push eax
push 0xc
push 0
push 0
push dword [ebp + 8]
call fcn.00565440
add esp, 0x14
mov dword [esp + 0x6c], eax
test eax, eax
je 0x54195d
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
test byte [eax + 0x18], 0x80
je 0x54189d
push 1
push dword [esp + 0x68]
mov edx, 0x25
mov ecx, esi
call fcn.00521900
add esp, 8
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5418fd
mov eax, dword [esp + 0x14]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x5418f3
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x20]
call fcn.00535050
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x5418b8
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x541924
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x10]
inc eax
push 0
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.00535110
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x48]
jle 0x541924
mov dword [edi + 0x48], eax
cmp dword [esp + 0x30], 0
je 0x541a03
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
add edx, 2
movzx eax, ax
mov dword [esp + 0x34], eax
call fcn.00506b20
mov ecx, eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x541999
mov ecx, dword [esp + 0x6c]
call fcn.00565d60
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x54196f
mov dword [eax + 0x1ec], ecx
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x68]
call fcn.0053f640
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00532fb0
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.005068f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.005b3770
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x18]
test ecx, ecx
js 0x5419cc
sub ecx, eax
mov byte [ecx + edx], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
js 0x5419da
sub ecx, eax
mov byte [ecx + edx], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5419ee
mov edx, eax
mov ecx, esi
call fcn.00521f20
mov edx, 0x10
mov ecx, esi
call fcn.00521830
mov dword [esp + 0x38], eax
jmp 0x541a85
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x541a66
inc dword [edi + 0x48]
mov edx, ecx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movsx esi, ax
push esi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], 0
call fcn.005474d0
add esp, 4
mov edx, 0x30
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x64]
mov esi, dword [esp + 0x9c]
mov ecx, esi
call fcn.00521970
add esp, 0x14
mov edx, 0x6b
push dword [esp + 0x1c]
push dword [esp + 0x4c]
jmp 0x541a7b
push eax
push dword [esp + 0x80]
mov dword [esp + 0x3c], 1
mov edx, 0x7d
mov ecx, esi
call fcn.00521900
add esp, 8
mov ecx, dword [esp + 0x6c]
call fcn.00565d60
cmp dword [esp + 0x30], 0
je 0x541ac0
mov ecx, esi
call fcn.00521b80
push eax
push 0
mov edx, 0x10
mov dword [esp + 0x88], eax
mov ecx, esi
call fcn.00521900
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, esi
call fcn.00521e10
cmp dword [esp + 0x58], 0
jne 0x541af4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x24]
push 0x35
call fcn.0054a700
mov eax, dword [esp + 0x8c]
add esp, 0x14
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x541b3b
mov ecx, dword [esp + 0x5c]
mov eax, ecx
mov edi, dword [esp + 0x4c]
sub eax, dword [esp + 0x18]
cmp byte [eax + edi], 0
mov edi, dword [esp + 0x60]
je 0x541b94
mov eax, dword [esp + 0x34]
mov edx, 0x41
cwde
push eax
push dword [esp + 0x20]
push dword [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00521ad0
add esp, 0x10
jmp 0x541b90
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x541b72
push dword [esp + 0x48]
mov edx, 0x69
call fcn.00521890
add esp, 4
mov dword [esp + 0x3c], eax
mov edx, 0x62
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call fcn.00521900
add esp, 8
jmp 0x541b90
push dword [esp + 0x1c]
mov edx, 0x7e
push 0
push dword [esp + 0x84]
call fcn.005217d0
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x10
je 0x541c0a
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x38], eax
test eax, eax
je 0x541bbf
mov edx, dword [esp + 0x2c]
nop dword [eax]
cmp dword [eax], edx
je 0x541bbb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x541bb0
mov dword [esp + 0x38], eax
mov edx, ecx
mov ecx, edi
call fcn.0055d950
push 0xfffffffffffffff6
push dword [esp + 0x3c]
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x24]
push 1
push 0
call fcn.00521970
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x541bf7
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x541c38
cmp byte [edi + 0x12], 0
push edx
push 0xa
sete al
mov edx, ecx
movzx eax, al
mov ecx, edi
push eax
push dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x74]
push dword [esp + 0x60]
call fcn.00541d70
add esp, 0x20
cmp dword [esp + 0x30], 0
mov ecx, esi
je 0x541c4f
mov edx, dword [esp + 0x80]
call fcn.00521bf0
jmp 0x541c85
cmp dword [esp + 0x28], 0
je 0x541c67
mov eax, dword [esp + 0x3c]
mov edx, 9
inc eax
push eax
push dword [esp + 0x4c]
jmp 0x541c72
push dword [esp + 0x3c]
mov edx, 0x10
push 0
call fcn.00521900
mov edx, dword [esp + 0x44]
add esp, 8
mov ecx, esi
call fcn.00521e10
cmp dword [esp + 0x58], 0
jne 0x541ce9
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
jne 0x541ce9
cmp dword [esp + 0x28], 0
jne 0x541cb4
push dword [esp + 0x5c]
mov edx, 0x3a
mov ecx, esi
call fcn.00521890
mov eax, dword [esp + 0x14]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
test eax, eax
je 0x541ce9
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
mov edx, 0x3a
mov ecx, esi
call fcn.00521890
mov eax, dword [esp + 0x44]
add esp, 4
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x40], eax
test edi, edi
jne 0x541cc5
mov edi, dword [esp + 0x60]
cmp byte [edi + 0x12], 0
jne 0x541cff
cmp dword [edi + 0x19c], 0
jne 0x541cff
mov ecx, edi
call fcn.00547b60
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x54195d
cmp byte [edi + 0x12], 0
jne 0x54195d
cmp dword [edi + 0x19c], 0
jne 0x54195d
push 1
push dword [esp + 0x68]
mov edx, 0x23
mov ecx, esi
call fcn.00521900
mov edx, 1
mov ecx, esi
call fcn.00522f70
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.00523000
add esp, 0x14
jmp 0x54195d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
jmp 0x541965