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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5c2b80]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], eax
test edi, edi
je 0x4b2394
mov eax, 0x65
test edx, edx
je 0x4b18ea
movzx eax, byte [edx]
mov dword [esp + 0x18], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x4b1903.21
movzx eax, byte [eax + 0x4b26fc]
jmp dword [eax*4 + 0x4b2698]
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 0x4b193b
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4b195f
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x2f
mov ecx, edi
push dword [eax + 8]
call fcn.0049bba0
add esp, 0xc
jmp 0x4b267d
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x1c]
test edi, edi
jns 0x4b198f
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x4b198c
movsx edi, word [edx + 0x20]
add edi, eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
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.004b1540
add esp, 0x10
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.004b1080
add esp, 8
jmp 0x4b267d
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, edi
call fcn.004b0ff0
add esp, 8
jmp 0x4b267d
push 0
push dword [edx + 8]
mov edx, 0x61
push 0
push ecx
push 0
mov ecx, edi
call fcn.0049bd40
add esp, 0x14
jmp 0x4b267d
push ecx
push 0
mov edx, 0x1c
mov ecx, edi
call fcn.0049bcd0
add esp, 8
jmp 0x4b267d
mov ecx, dword [edx + 8]
add ecx, 2
call fcn.0047fbe0
mov edx, ecx
mov ecx, dword [edi]
lea esi, [eax - 1]
push esi
call fcn.00480ef0
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edi
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, esi
cdq
sub eax, edx
mov edx, 0x1e
sar eax, 1
push eax
call fcn.0049bd40
add esp, 0x14
jmp 0x4b267d
movsx eax, word [edx + 0x20]
mov edx, 0x1f
push ecx
push eax
mov ecx, edi
call fcn.0049bcd0
mov ecx, dword [esp + 0x38]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x4b267d
movsx ecx, word [ecx + 0x20]
or edx, 0xffffffff
mov eax, dword [esi + 0x1d8]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.0049c3b0
add esp, 8
jmp 0x4b267d
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004b1890
add esp, 4
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004b1890
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ecx
cmp ecx, eax
je 0x4b1b12
push eax
push ecx
mov edx, 0x22
mov ecx, edi
call fcn.0049bcd0
mov edx, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.004b9030
movsx eax, al
mov edx, 0x28
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0049bcd0
mov edi, dword [esp + 0x14]
mov ecx, esi
push 1
mov edx, edi
call fcn.004b12f0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b27f0
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.004b27f0
mov edx, dword [ebp + 8]
add esp, 4
push 0x20
push edx
push eax
push edi
push dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.004ae1a0
add esp, 0x18
jmp 0x4b2297
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b27f0
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.004b27f0
mov edx, dword [ebp + 8]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x24], 0x49
push edi
sete al
add eax, 0x4e
push eax
jmp 0x4b1b91
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b27f0
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.004b27f0
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x1c]
push edi
push eax
call fcn.0049bba0
add esp, 0xc
jmp 0x4b2297
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x4b1c56
push ecx
push 1
mov ecx, esi
call fcn.004b1080
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4b2297
cmp al, 0x85
jne 0x4b1c76
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.004b0ff0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4b2297
lea eax, [esp + 0x14]
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.004b27f0
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.004b27f0
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
push edi
push eax
mov edx, 0x5a
call fcn.0049bba0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4b2297
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b27f0
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
push ecx
push eax
mov ecx, edi
call fcn.0049bcd0
add esp, 8
jmp 0x4b2297
push ecx
push 1
mov edx, 0x19
mov ecx, edi
call fcn.0049bcd0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.004b27f0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0049bc60
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x19
mov edi, eax
push dword [ebp + 8]
push 0
call fcn.0049bcd0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, edi
call fcn.0049c190
jmp 0x4b2297
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4b1d80
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.0047fd00
add esp, 0xc
jmp 0x4b267d
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 ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov al, byte [eax + 0x3e]
mov byte [esp + 0x1c], al
je 0x4b1ec3
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [esp + 0x2c], edx
call fcn.0047fbe0
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
push ecx
mov ecx, dword [esp + 0x48]
push eax
call fcn.004be660
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b210c
cmp dword [eax + 0xc], 0
je 0x4b210c
movzx eax, word [eax + 2]
test eax, 0x200
je 0x4b1edd
mov ecx, edi
call fcn.0049bed0
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.004b2990
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x4b1eb3
dec eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x24], eax
push dword [esp + 0x2c]
mov edx, 0x4d
mov ecx, edi
push dword [ebp + 8]
call fcn.0049bcd0
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.004b12f0
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc dword [esi + 0x64]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.004b2990
add esp, 4
mov ecx, esi
call fcn.004b1350
add dword [esp + 0x1c], 0x18
dec dword [esp + 0x24]
jne 0x4b1e61
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0049bf20
jmp 0x4b267d
mov eax, dword [edx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b1dd3
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x4b1ddb
test eax, 0x400
je 0x4b1eff
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.004b2990
add esp, 4
jmp 0x4b267d
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x4b1f98
mov edi, dword [esp + 0x10]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
cmp edx, 0x20
jge 0x4b1f4a
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + eax]
call fcn.004afc10
mov ecx, dword [esp + 0x14]
test eax, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
je 0x4b1f4a
or dword [esp + 0x38], eax
mov edi, dword [esp + 0x18]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x10]
je 0x4b1f80
cmp dword [esp + 0x24], 0
jne 0x4b1f80
mov edx, dword [edi + 4]
mov ecx, esi
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + eax]
call fcn.004adf40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
inc edx
rol eax, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
cmp edx, ecx
jl 0x4b1f22
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4b201c
cmp dword [esp + 0x38], 0
je 0x4b1fc0
mov eax, dword [esi + 0x48]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x34]
mov dword [esi + 0x48], eax
jmp 0x4b1fd1
mov edx, ecx
mov ecx, esi
call fcn.004b3d20
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test byte [eax + 2], 0xc0
je 0x4b1ffc
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov cl, byte [ecx]
cmp cl, 0x9a
je 0x4b1ff0
cmp cl, 0x9c
jne 0x4b1ffc
mov al, byte [eax + 2]
mov ecx, dword [esp + 0x1c]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [esi + 0x64]
mov ecx, esi
push 3
push dword [esp + 0x24]
call fcn.004b2b60
add esp, 8
mov ecx, esi
call fcn.004b1350
mov edx, dword [esp + 0x10]
jmp 0x4b2024
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x4b2057
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 0x80
je 0x4b2057
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push dword [eax + 0x18]
push dword [esp + 0x18]
call fcn.004df480
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4b207e
test eax, eax
jle 0x4b207a
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0x18]
call fcn.004df480
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4b207e
mov eax, dword [esp + 0x18]
test byte [eax + 2], 0x20
je 0x4b20af
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4b2093
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x24
mov ecx, edi
call fcn.0049bd40
mov eax, dword [esp + 0x2c]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 1
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x48]
call fcn.0049bd40
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x4b20e1
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b267d
cmp dword [esp + 0x38], 0
jne 0x4b267d
mov edx, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004b3d50
add esp, 4
jmp 0x4b267d
push dword [esp + 0x2c]
push dword [esp + 0x24]
push str.unknown_function:__.s__
push esi
call fcn.0047fd00
add esp, 0x10
jmp 0x4b267d
push 0
push 0
mov ecx, esi
call fcn.004b04e0
add esp, 8
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0049bed0
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.0049bed0
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov edx, 0x1c
push 0
mov dword [esp + 0x2c], eax
call fcn.0049bcd0
push dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edi
call fcn.004b0a40
push dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov edx, 0x19
push 1
mov ecx, esi
call fcn.0049bcd0
mov edx, edi
mov ecx, esi
call fcn.0049bf20
push 0
push dword [ebp + 8]
mov edx, 0x25
call fcn.0049bcd0
mov edx, dword [esp + 0x44]
add esp, 0x20
mov ecx, esi
call fcn.0049bf20
jmp 0x4b267d
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 + 0x14]
push eax
call fcn.004b27f0
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, esi
push eax
call fcn.004b27f0
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004b3cc0
mov dword [esp + 0x20], eax
call fcn.004b3cc0
push 0x20
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
push edx
push dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push 0x53
push edi
call fcn.004ae1a0
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x28]
mov edi, dword [edi + 0x18]
call fcn.004b3ce0
lea eax, [esp + 0x28]
mov edx, edi
push eax
mov ecx, esi
call fcn.004b27f0
mov edx, dword [esp + 0x48]
add esp, 0x1c
mov ecx, esi
push 0x20
push dword [esp + 0x28]
push eax
push dword [esp + 0x28]
push 0x51
push edi
call fcn.004ae1a0
push dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov edx, 0x48
push dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
push edi
call fcn.0049bba0
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.004b3ce0
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.004b3ce0
cmp dword [esp + 0x14], 0
je 0x4b22d4
mov al, byte [esi + 0x13]
mov byte [esp + 0x2b], al
cmp al, 8
jae 0x4b22d4
xor ecx, ecx
lea eax, [esi + 0x74]
mov edi, edi
mov edx, dword [esp + 0x14]
cmp dword [eax + 0xc], edx
je 0x4b22d0
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4b22b0
movzx eax, byte [esp + 0x2b]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4b22d4
mov byte [eax + 6], 1
cmp dword [esp + 0x10], 0
je 0x4b267d
mov al, byte [esi + 0x13]
mov byte [esp + 0x2b], al
cmp al, 8
jae 0x4b267d
xor ecx, ecx
lea eax, [esi + 0x74]
mov edx, dword [esp + 0x10]
cmp dword [eax + 0xc], edx
je 0x4b2316
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4b22f3
movzx eax, byte [esp + 0x2b]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4b267d
mov byte [eax + 6], 1
jmp 0x4b267d
mov esi, dword [edx + 0x2c]
movsx eax, word [edx + 0x20]
push ecx
inc eax
movsx ecx, word [esi + 0x26]
inc ecx
imul ecx, dword [edx + 0x1c]
mov edx, 0x84
add eax, ecx
mov ecx, edi
push eax
call fcn.0049bcd0
mov ecx, dword [esp + 0x38]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x4b267d
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x4b267d
push dword [ebp + 8]
mov edx, 0x27
mov ecx, edi
call fcn.0049bc60
add esp, 4
jmp 0x4b267d
cmp dword [esi + 0x19c], 0
jne 0x4b23aa
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.0047fd00
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4b23c1
mov eax, dword [esi + 0x198]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edx + 1]
push 0
cmp al, 4
jne 0x4b23e7
push dword [edx + 8]
mov edx, 0x18
mov ecx, edi
push 0
push 4
push 0
call fcn.0049bd40
add esp, 0x14
jmp 0x4b267d
push 0
push dword [edx + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.004bd5f0
add esp, 0x10
jmp 0x4b267d
mov eax, dword [edx + 0x14]
mov ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], eax
call fcn.0049bed0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
test edx, edx
je 0x4b24a7
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
movdqu xmmword [esp + 0x74], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x84], xmm0
movdqu xmm0, xmmword [edx + 0x20]
movdqu xmmword [esp + 0x94], xmm0
call fcn.004b27f0
mov cl, byte [esp + 0x74]
add esp, 4
and dword [esp + 0x74], 0xffffefff
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x96], cl
mov byte [esp + 0x70], 0x9f
mov byte [esp + 0x40], 0x4f
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4b25e9
mov eax, dword [esp + 0x1c]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
inc dword [esi + 0x64]
mov eax, dword [eax]
test edx, edx
je 0x4b24d1
mov dword [esp + 0x50], eax
jmp 0x4b24d5
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4b2512
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0047d3d0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4b2520
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
mov ecx, esi
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x10
push eax
mov dword [esp + 0x18], eax
call fcn.004b31e0
mov edx, dword [esp + 0x24]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.004b2990
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x54], ecx
jg 0x4b2569
mov ecx, edi
call fcn.0049bb20
test eax, eax
jne 0x4b259d
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x10
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.004b1350
mov eax, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
js 0x4b25c1
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4b25c1
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x18]
dec eax
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x1c]
add eax, 0x30
dec dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jne 0x4b24c2
mov eax, dword [esp + 0x38]
test al, 1
je 0x4b2614
mov edx, dword [esp + 0x34]
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.004b2990
add esp, 4
mov ecx, esi
call fcn.004b1350
jmp 0x4b265d
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4b262a
mov ecx, edi
call fcn.0049bb20
test eax, eax
jne 0x4b265d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x1c
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 esi, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x3c]
js 0x4b2676
mov edx, dword [esi + 0x70]
test edx, edx
je 0x4b2676
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [esi + 0x58], eax
mov edi, dword [esp + 0xc]
mov eax, edi
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret