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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 8], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
test edi, edi
je 0x4b3e18
mov eax, 0x65
test edx, edx
je 0x4b32fc
movzx eax, byte [edx]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x4b3315.21
movzx eax, byte [eax + 0x4b4178]
jmp dword [eax*4 + 0x4b4114]
movsx eax, word [edx + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x4b333f
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4b336a
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x2f
mov ecx, edi
push dword [eax + 8]
call fcn.0049d670
mov edi, dword [esp + 0x14]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x1c]
test edi, edi
jns 0x4b338c
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x4b3389
movsx edi, word [edx + 0x20]
add edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x60]
movzx eax, byte [edx + 0x26]
push eax
movsx eax, word [edx + 0x20]
mov edx, dword [edx + 0x2c]
push ecx
push edi
push eax
mov ecx, esi
call fcn.004b2ec0
add esp, 0x10
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.004b2a50
mov edi, dword [esp + 0x10]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, edi
call fcn.004b29b0
mov edi, dword [esp + 0x10]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [edx + 8]
mov edx, ecx
mov ecx, edi
call fcn.0049d860
mov edi, dword [esp + 0xc]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov edx, 0x1a
mov ecx, edi
call fcn.0049d7a0
mov edi, dword [esp + 0x10]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 8]
lea ecx, [esi + 2]
call fcn.00483750
lea edx, [esi + 2]
mov esi, dword [esp + 0x28]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.004849c0
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, edi
cdq
sub eax, edx
mov edx, 0x1c
sar eax, 1
push eax
call fcn.0049d9e0
mov edi, dword [esp + 0x1c]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, word [edx + 0x20]
mov edx, 0x1d
push ecx
push eax
mov ecx, edi
call fcn.0049d7a0
mov ecx, dword [esp + 0x38]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x4b4108
movsx ecx, word [ecx + 0x20]
mov eax, dword [esi + 0x1d4]
mov edx, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
test edx, edx
je 0x4b34f1
cmp byte [ecx + 0x41], 0
jne 0x4b34f1
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0049dff0
mov eax, dword [esp + 0x1c]
add esp, 4
mov edi, dword [esp + 8]
test eax, eax
jne 0x4b34e2
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], eax
mov eax, edi
mov byte [esi + 1], 0xfe
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0xfffffffe
call fcn.0049dff0
mov edi, dword [esp + 0xc]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004b32b0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 8], ecx
cmp ecx, eax
je 0x4b3549
push eax
push ecx
mov edx, 0x20
mov ecx, edi
call fcn.0049d7a0
mov edx, dword [ebp + 8]
add esp, 8
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.004ba680
movsx eax, al
mov edx, 0x28
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0049d7a0
mov edi, dword [esp + 0x10]
mov ecx, esi
push 1
mov edx, edi
call fcn.004b2d30
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b4270
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004b4270
mov edx, dword [ebp + 8]
add esp, 4
push 0x20
push edx
push eax
push edi
push dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.004afb90
add esp, 0x18
jmp 0x4b3ce9
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b4270
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004b4270
mov edx, dword [ebp + 8]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x28], 0x49
push edi
sete al
add eax, 0x4e
push eax
jmp 0x4b35ba
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b4270
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004b4270
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push edi
push eax
call fcn.0049d670
add esp, 0xc
jmp 0x4b3ce9
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x4b3678
push ecx
push 1
mov ecx, esi
call fcn.004b2a50
add esp, 8
jmp 0x4b3ce9
cmp al, 0x85
jne 0x4b3691
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.004b29b0
add esp, 8
jmp 0x4b3ce9
lea eax, [esp + 0xc]
mov byte [esp + 0x70], 0x84
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.004b4270
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.004b4270
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x28]
push edx
push edi
push eax
mov edx, 0x5a
call fcn.0049d670
add esp, 0xc
jmp 0x4b3ce9
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b4270
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edi
push edx
mov edx, dword [esp + 0x20]
push eax
call fcn.0049d7a0
add esp, 8
jmp 0x4b3ce9
push ecx
push 1
mov edx, 0x17
mov ecx, edi
call fcn.0049d7a0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.004b4270
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0049d730
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x17
mov edi, eax
push dword [ebp + 8]
push 0
call fcn.0049d7a0
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, edi
call fcn.0049dfa0
jmp 0x4b3ce9
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4b3797
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.00483840
mov edi, dword [esp + 0x14]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [edx + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
mov al, byte [eax + 0x3e]
mov byte [esp + 0x20], al
je 0x4b38da
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [edx + 8]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.00483750
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
push 0
push dword [esp + 0x24]
mov dword [esp + 0x40], eax
push dword [esp + 0x14]
push eax
call fcn.004bf860
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b3b5e
cmp dword [eax + 0xc], 0
je 0x4b3b5e
movzx eax, word [eax + 2]
test eax, 0x200
je 0x4b38f4
mov ecx, edi
call fcn.0049dc20
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x30], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.004b4400
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, 1
jle 0x4b38c3
dec eax
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x18], eax
nop dword [eax]
push dword [esp + 0x2c]
mov edx, 0x4d
mov ecx, edi
push dword [ebp + 8]
call fcn.0049d7a0
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.004b2d30
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc dword [esi + 0x64]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.004b4400
add esp, 4
mov ecx, esi
call fcn.004b2d90
add dword [esp + 0x14], 0x18
sub dword [esp + 0x18], 1
jne 0x4b3870
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0049dc70
mov edi, dword [esp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b37dc
mov eax, dword [eax]
mov dword [esp + 0xc], eax
jmp 0x4b37e4
test eax, 0x400
je 0x4b3919
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.004b32b0
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4b39ec
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x20], edx
cmp eax, 0x20
jge 0x4b399e
mov edx, dword [edi + 4]
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov edx, dword [edx + eax]
mov byte [esp + 0x54], 1
mov dword [esp + 0x40], 0x4b1470
mov dword [esp + 0x44], 0x4b1580
mov dword [esp + 0x58], 0
call fcn.004ad790
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
je 0x4b399a
mov ecx, dword [esp + 0x2c]
bts ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x10]
je 0x4b39d4
cmp dword [esp + 0x18], 0
jne 0x4b39d4
mov edx, dword [edi + 4]
mov ecx, esi
mov eax, dword [esp + 0x20]
mov edx, dword [edx + eax]
call fcn.004af910
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
inc eax
add edx, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp eax, ecx
jl 0x4b3935
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4b3a71
cmp dword [esp + 0x2c], 0
je 0x4b3a14
mov eax, dword [esi + 0x48]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0x48], eax
jmp 0x4b3a25
mov edx, ecx
mov ecx, esi
call fcn.004b54d0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x4b3a4f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov cl, byte [ecx]
cmp cl, 0x9a
je 0x4b3a46
cmp cl, 0x9c
jne 0x4b3a4f
mov ecx, dword [esp + 0x14]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [esi + 0x64]
mov ecx, esi
push 3
push 0
push dword [esp + 0x28]
call fcn.004b4460
add esp, 0xc
mov ecx, esi
call fcn.004b2d90
mov edx, dword [esp + 0x10]
jmp 0x4b3a79
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0xc]
cmp eax, 2
jl 0x4b3aac
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 0x80
je 0x4b3aac
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push dword [eax + 0x18]
push dword [esp + 0x10]
call fcn.004df190
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4b3ad3
test eax, eax
jle 0x4b3acf
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x10]
call fcn.004df190
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4b3ad3
mov eax, dword [esp + 0x1c]
test byte [eax + 2], 0x20
je 0x4b3b04
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b3ae8
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x22
mov ecx, edi
call fcn.0049d9e0
mov eax, dword [esp + 0x30]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 0x23
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x3c]
call fcn.0049d9e0
mov dl, byte [esp + 0x20]
add esp, 0x14
mov ecx, edi
call fcn.0049df70
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b4108
cmp dword [esp + 0x2c], 0
jne 0x4b4108
mov edx, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004b5500
mov edi, dword [esp + 0xc]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
push dword [esp + 0x3c]
push str.unknown_function:__.s__
push esi
call fcn.00483840
mov edi, dword [esp + 0x18]
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
call fcn.004b1e60
add esp, 8
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0049dc20
mov ecx, dword [esp + 0x28]
mov edi, eax
call fcn.0049dc20
push dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov edx, 0x1a
push 0
mov dword [esp + 0x20], eax
call fcn.0049d7a0
push dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edi
call fcn.004b2410
push dword [ebp + 8]
mov esi, dword [esp + 0x3c]
mov edx, 0x17
push 1
mov ecx, esi
call fcn.0049d7a0
mov edx, edi
mov ecx, esi
call fcn.0049dc70
push 0
push dword [ebp + 8]
mov edx, 0x25
call fcn.0049d7a0
mov edx, dword [esp + 0x38]
add esp, 0x20
mov ecx, esi
call fcn.0049dc70
mov edi, dword [esp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0xc]
mov edx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
lea eax, [esp + 0xc]
push eax
call fcn.004b4270
add esp, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, esi
push eax
call fcn.004b4270
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004b5470
mov dword [esp + 0x34], eax
call fcn.004b5470
push 0x20
push dword [esp + 0x38]
mov dword [esp + 0x20], eax
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
push 0x53
push edi
call fcn.004afb90
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x28]
mov edi, dword [edi + 0x18]
call fcn.004b5490
lea eax, [esp + 0x28]
mov edx, edi
push eax
mov ecx, esi
call fcn.004b4270
mov edx, dword [esp + 0x48]
add esp, 0x1c
mov ecx, esi
push 0x20
push dword [esp + 0x1c]
push eax
push dword [esp + 0x20]
push 0x51
push edi
call fcn.004afb90
push dword [ebp + 8]
mov edi, dword [esp + 0x50]
mov edx, 0x48
push dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
push edi
call fcn.0049d670
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.004b5490
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.004b5490
cmp dword [esp + 0xc], 0
je 0x4b3d24
mov al, byte [esi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4b3d24
xor ecx, ecx
lea eax, [esi + 0x74]
mov edx, dword [esp + 0xc]
cmp dword [eax + 0xc], edx
je 0x4b3d20
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4b3d00
movzx eax, byte [esp + 0x27]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4b3d24
mov byte [eax + 6], 1
cmp dword [esp + 0x10], 0
mov ecx, dword [ebp + 8]
mov edi, ecx
je 0x4b410c
mov al, byte [esi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4b410c
xor edx, edx
lea eax, [esi + 0x74]
nop dword [eax + eax]
mov edi, dword [esp + 0x10]
cmp dword [eax + 0xc], edi
je 0x4b3d78
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x4b3d50
movzx eax, byte [esp + 0x27]
mov dword [esi + eax*4 + 0x18], edi
mov edi, ecx
inc byte [esi + 0x13]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, ecx
mov byte [eax + 6], 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004b32b0
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x2c]
movsx eax, word [edx + 0x20]
push ecx
inc eax
movsx ecx, word [esi + 0x22]
inc ecx
imul ecx, dword [edx + 0x1c]
mov edx, 0x86
add eax, ecx
mov ecx, edi
push eax
call fcn.0049d7a0
mov ecx, dword [esp + 0x38]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x4b4108
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x4b4108
push dword [ebp + 8]
mov edx, 0x27
mov ecx, edi
call fcn.0049d730
mov edi, dword [esp + 0xc]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x19c], 0
jne 0x4b3e20
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.00483840
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 2
jne 0x4b3e3b
mov eax, dword [esi + 0x198]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edx + 1]
mov ecx, dword [edx + 8]
push 0
cmp al, 4
jne 0x4b3e66
push ecx
push 0
push 4
push 0
mov edx, 0x16
mov ecx, edi
call fcn.0049d9e0
mov edi, dword [esp + 0x1c]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push ecx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.004beb20
mov edi, dword [esp + 0x18]
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov ecx, edi
mov dword [esp + 0x3c], eax
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
call fcn.0049dc20
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b3f19
movups xmm0, xmmword [eax]
lea ecx, [esp + 0xc]
mov edx, eax
push ecx
movups xmmword [esp + 0x74], xmm0
mov ecx, esi
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x84], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x94], xmm0
call fcn.004b4270
mov cl, byte [esp + 0x74]
lea edx, [esp + 0x44]
mov dword [esp + 0x90], eax
add esp, 4
and dword [esp + 0x74], 0xffffefff
lea eax, [esp + 0x70]
mov byte [esp + 0x96], cl
mov byte [esp + 0x70], 0x9f
mov byte [esp + 0x40], 0x4f
mov dword [esp + 0x4c], eax
jmp 0x4b3f1b
xor edx, edx
mov eax, dword [esp + 0x10]
dec eax
test eax, eax
jle 0x4b4065
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
inc dword [esi + 0x64]
mov ecx, dword [eax]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x50]
cmove edx, ecx
cmovne eax, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], edx
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4b3f91
mov edx, dword [edx + 0x70]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x34]
push 0
push eax
mov ecx, dword [ecx]
call fcn.004811b0
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [edx + 0x70]
test eax, eax
je 0x4b3f9f
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x1c]
not ecx
push 0x10
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, esi
call fcn.004b4b30
mov edx, dword [esp + 0x1c]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.004b4400
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
mov edx, ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x54], ecx
jg 0x4b3fea
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4b4021
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x38]
lea eax, [edx + 1]
mov edx, dword [esp + 0x28]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.004b2d90
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4b4044
mov eax, dword [esp + 0x18]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 0x30
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
jne 0x4b3f34
mov eax, dword [esp + 0x10]
test al, 1
je 0x4b4094
mov edx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
inc dword [esi + 0x64]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.004b4400
add esp, 4
mov ecx, esi
call fcn.004b2d90
jmp 0x4b40e5
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov ecx, esi
cmp dword [eax + 0x54], esi
jg 0x4b40af
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4b40e5
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4b4101
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov edi, dword [esp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret