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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov byte [esp + 3], 0
push ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
push esi
mov ebx, dword [eax + 8]
push edi
mov edi, edx
mov dword [esp + 0x54], ecx
xor edx, edx
mov dword [esp + 0x58], edi
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ecx
cmp dword [ebx + 0x70], ecx
jg 0x4bd99c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x4bd9bf
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
movlpd qword [esp + 0x40], xmm0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*2]
mov edi, dword [edi + 0x48]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], eax
cmp esi, eax
jae 0x4bdbdc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
nop dword [eax]
mov ebx, dword [esp + 0x28]
mov edi, dword [esi]
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x4bda88
test byte [esi + 0xa], 2
jne 0x4bda88
test byte [edi + 4], 1
jne 0x4bda88
mov eax, 3
mov dword [esp + 0x68], 0x481c20
mov word [esp + 0x78], ax
lea ecx, [esp + 0x64]
mov eax, dword [edx + 0x2c]
mov edx, edi
mov dword [esp + 0x6c], 0x481ab0
mov dword [esp + 0x7c], eax
call fcn.0047daf0
cmp word [esp + 0x78], 0
je 0x4bda81
mov ebx, dword [esp + 0x18]
mov edx, edi
push 0
push 0
mov ecx, dword [ebx]
call fcn.00481720
mov edx, dword [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00481240
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4bdbc1
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4bdbbd
test byte [edx + 0x24], 8
je 0x4bdab7
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4bdab7
test cl, cl
js 0x4bdbbd
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4bdbbd
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4bdbbd
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi]
call fcn.00480740
cmp al, 0x42
jl 0x4bdb0a
jne 0x4bdafa
xor eax, eax
cmp bl, 0x42
sete al
jmp 0x4bdb02
xor eax, eax
cmp bl, 0x43
setge al
test eax, eax
je 0x4bdbba
mov ecx, dword [esi + 0x1c]
xor edi, edi
cmp ecx, 0x40
jl 0x4bdb1b
mov ebx, 0x80000000
jmp 0x4bdb30
mov eax, ecx
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
cmp byte [esp + 0xf], 0
jne 0x4bdb5d
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.randomblob
push 0x11c
call fcn.0044e060
add esp, 0x10
mov byte [esp + 0xf], 1
mov ecx, edi
mov eax, ebx
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x4bdbba
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.004be830
add esp, 4
test eax, eax
jne 0x4be3e1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
or dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
or edi, ebx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
jmp 0x4bdbc5
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x50]
jb 0x4bda10
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x4bdbe4
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
not edi
or edi, 0x80000000
not esi
mov word [eax + 0x28], cx
mov word [eax + 0x18], cx
mov dword [eax + 0x24], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
mov eax, dword [edx + 0x3c]
and edi, eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], esi
xor esi, esi
mov dword [esp + 0x34], ecx
movzx edi, word [edx + 0x2a]
mov edx, 0x3f
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
cmp dx, di
jge 0x4bdc39
mov dword [esp + 0x38], edx
jmp 0x4bdc44
movsx edx, di
mov dword [esp + 0x38], edx
test edx, edx
jle 0x4bdc8a
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, edi
or edx, ecx
je 0x4bdc75
inc dword [esp + 0x10]
inc esi
cmp esi, ebx
jl 0x4bdc50
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
test eax, eax
jg 0x4bdca4
jl 0x4bdc94
test ecx, ecx
jae 0x4bdca4
mov ecx, dword [esp + 0x10]
movsx eax, di
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
mov esi, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [esi]
call fcn.00491b30
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4be3e5
mov ecx, dword [esp + 0x28]
xor edi, edi
mov esi, dword [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x2c], edi
movlpd qword [esp + 0x40], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], 0x63e31c
mov dword [eax + 0xc], ecx
mov esi, dword [esi + 0x14]
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x50]
jae 0x4bde80
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4bde6b
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4bde6b
test byte [edx + 0x24], 8
je 0x4bdd4f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4bdd4f
test cl, cl
js 0x4bde6b
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4bde6b
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4bde6b
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0xf], al
call fcn.00480740
cmp al, 0x42
jl 0x4bddaa
jne 0x4bdd98
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
jmp 0x4bdda2
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
test eax, eax
je 0x4bde68
mov eax, dword [esi + 0x1c]
xor edx, edx
cmp eax, 0x40
jl 0x4bddbb
mov esi, 0x80000000
jmp 0x4bddce
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x4c]
or ecx, eax
jne 0x4bde64
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
mov edi, dword [eax]
mov ecx, dword [ecx + 4]
mov ax, word [eax + 0x1c]
or dword [esp + 0x4c], esi
mov word [ecx + edx*2], ax
test dword [edi + 4], 0x200
je 0x4bde14
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
jmp 0x4bde1a
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
test dword [edx + 4], 0x100
jne 0x4bde3d
test esi, esi
je 0x4bde30
test dword [esi + 4], 0x100
jne 0x4bde3b
mov ecx, ebx
call fcn.004805b0
test eax, eax
jne 0x4bde48
mov edx, esi
mov ecx, ebx
call fcn.004805b0
test eax, eax
je 0x4bde4c
mov ecx, dword [eax]
jmp 0x4bde51
mov ecx, 0x632048
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add esi, 0x30
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x50]
jb 0x4bdd20
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x4bded4
mov ebx, dword [esp + 0x1c]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x4bdec5
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x632048
inc edi
inc esi
cmp esi, dword [esp + 0x38]
jl 0x4bde90
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], edi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x4bdf21
jl 0x4bdee5
cmp dword [eax + 0x38], 0
jae 0x4bdf21
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
mov edx, dword [esp + 0x1c]
cmp ax, word [esi + 0x2a]
jge 0x4bdf25
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], 0x632048
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4bdf00
mov dword [esp + 0x2c], edi
jmp 0x4bdf25
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
inc edx
mov dword [eax + edi*4], 0x632048
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
inc dword [edi + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4bdf6e
push 0
push edx
push esi
mov edx, 0x63
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
jmp 0x4bdf9d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, edi
mov esi, dword [edi + 8]
call fcn.00493e00
mov edx, eax
test edx, edx
je 0x4bdfdb
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4bdfc9
push edx
mov edx, 0xfffffff7
call fcn.0046b690
add esp, 4
jmp 0x4bdfdb
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea edi, [eax + ecx*8]
je 0x4be0e9
mov ecx, dword [ebx + 0x6c]
mov edx, dword [edi + 0x24]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
cmp dword [ebx + 0x70], ecx
jg 0x4be02e
push 0
push 0
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.0046aa40
mov edx, dword [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4be061
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [edi + 0x20]
cmp dword [ebx + 0x70], ecx
jg 0x4be085
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.0046aa40
mov edx, dword [esp + 0x64]
add esp, 0xc
jmp 0x4be0b4
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x4be0d4
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
mov esi, eax
jmp 0x4be13f
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x4be11f
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x4be10c
push 0
push 0
push edx
mov edx, 0x25
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
mov esi, eax
jmp 0x4be13f
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x25
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4be16d
mov eax, dword [esp + 0x18]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x6c], edx
call fcn.00487330
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4be180
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x4be18f
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x98]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.00495dc0
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x70], ecx
jg 0x4be1dd
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x82
call fcn.0046aa40
add esp, 0xc
jmp 0x4be210
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4be227
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x30], 0
je 0x4be255
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4be24c
push edx
mov edx, ebx
call fcn.0046b240
add esp, 4
jmp 0x4be255
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
test byte [edi + 0x30], 0x10
je 0x4be302
mov ecx, dword [esp + 0x54]
test ecx, ecx
jns 0x4be26b
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4be27a
mov ecx, 0x657384
jmp 0x4be283
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov edx, esi
add eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [edi + 0x28]
push dword [eax + 4]
call fcn.004bd8a0
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x4be2cd
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
and dword [edi + 0x30], 0xffffffef
jmp 0x4be36d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [edi + 0x30], 0xffffffef
jmp 0x4be36d
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [ebx + 0x6c]
mov edi, dword [eax + 4]
cmp dword [ebx + 0x70], ecx
jg 0x4be328
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.0046aa40
add esp, 0xc
jmp 0x4be356
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4be36d
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x4be377
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4be386
mov eax, 0x657384
jmp 0x4be38f
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4be3b2
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4be3b2
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x4be3c0
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4be3d2
mov eax, 0x657384
mov dword [eax + 8], edx
jmp 0x4be3e5
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4be3e5
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4be3f6
mov ecx, dword [esi]
mov edx, eax
call fcn.00481520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret