Function at 0x46fc30
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [0x67f3c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [0x6815a8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov eax, dword [ebx + 0x3ea0]
mov dword [esp + 0x18], ebx
and byte [edi + 0xa0], 0xfb
cmp dword [edi + 0x18], 0
mov dword [edi + 0x84], eax
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
jne 0x46fd4e
push edi
call fcn.004708c0
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [esp + 0x28], xmm0
call fcn.0046d2e0
mov ecx, dword [esp + 0x30]
xor eax, eax
mov esi, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
cmp ecx, 1
mov dword [edi + 0x78], edx
cmove eax, esi
mov dword [edi + 0x80], ecx
cmp dword [edi + 0x90], 0
mov dword [edi + 0x7c], eax
jne 0x46fcd5
test esi, esi
je 0x46fd3a
mov eax, dword [esi]
mov dword [edi + 0x90], eax
test esi, esi
je 0x46fd3a
mov eax, dword [esi + 0x2c]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x68], eax
mov ebx, dword [esi + 0x24]
cmp ebx, ecx
jle 0x46fd36
mov ebp, dword [esi + 0x2c]
lea esi, [ebp + 4]
mov eax, dword [esi]
cmp byte [eax + 0x29], 0
je 0x46fd1a
inc ecx
add esi, 4
cmp ecx, ebx
jl 0x46fd08
jmp 0x46fd36
mov eax, dword [ebp + ecx*4]
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x68], eax
mov ebx, dword [esp + 0x18]
test edx, edx
je 0x46fd4e
nop
or byte [edx + 0xa0], 0x20
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x46fd40
cmp dword [edi + 0x30], 0
je 0x46fd67
mov eax, dword [edi + 0x10]
shr eax, 0xc
test al, 1
je 0x46fd67
push edi
call fcn.0046e730
add esp, 4
mov eax, dword [edi + 0x18]
xor dl, dl
test eax, eax
jne 0x46feb7
test dword [edi + 0x10], 0x400
jne 0x46feb7
mov ecx, dword [edi + 0x24]
lea esi, [edi + 0x24]
cmp ecx, 1
jg 0x46fda6
cmp dword [edi + 0x1c], eax
jne 0x46fda6
cmp byte [ebx + 0x5a], al
jne 0x46fda6
test ecx, ecx
je 0x46fda4
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x28], dl
jne 0x46fda6
mov dl, 1
cmp dword [edi + 0x80], 0
je 0x46fdbb
test dl, dl
jne 0x46fdbb
mov eax, dword [edi + 0x18]
jmp 0x46feba
cmp ecx, 1
jne 0x46fe4a
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x9c]
and eax, 0xfffffebf
mov dword [edi + 0x40], ecx
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x46fe1b
cmp dword [ebx + 0x4124], eax
jne 0x46fe1b
push esi
call fcn.00474750
add esp, 4
mov eax, dword [edi + 0x70]
test eax, eax
je 0x46fe47
mov ecx, dword [eax + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x70]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x70]
cmp byte [eax + 0xc2], 0
je 0x46fe47
mov dword [ecx + 0x6c], esi
mov byte [esi + 0xc2], 1
lea esi, [edi + 0x24]
push edi
call fcn.0046d360
mov al, byte [edi + 0xa0]
add esp, 4
and al, 0xbf
mov dword [edi + 0x14], 1
and al, 0xe7
mov dword [edi + 0x98], 0
test byte [edi + 0xa1], 1
mov byte [edi + 0xa0], al
mov eax, dword [ebx + 0x3ea0]
mov dword [edi + 0x88], eax
je 0x4708ac
cmp dword [esi], 1
jne 0x4708ac
mov eax, dword [edi + 0x2c]
push dword [eax]
push edi
call fcn.0046e9f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00511a59
add esp, 0x5c
ret
lea esi, [edi + 0x24]
mov bl, byte [edi + 0xa0]
mov ebp, esi
test bl, 1
je 0x46ff52
cmp dword [edi + 0x70], 0
jne 0x46ff52
test eax, eax
jne 0x46ff50
test dword [edi + 0x10], 0x400
jne 0x46ff50
cmp dword [edi + 0x1c], eax
jne 0x46ff52
mov esi, dword [edi + 0x94]
test esi, esi
je 0x46ff1c
xor ecx, ecx
lea ebp, [edi + 0x24]
cmp dword [ebp], ecx
jle 0x46ff1c
mov edx, dword [edi + 0x2c]
nop
mov eax, dword [edx]
cmp dword [eax + 4], esi
je 0x46ff12
inc ecx
add edx, 4
cmp ecx, dword [ebp]
jl 0x46ff00
jmp 0x46ff1c
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x46ff24
mov eax, dword [edi + 0x2c]
lea ebp, [edi + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x46ff36
cmp byte [eax + 0xdd], 0
jle 0x46ff52
mov dword [edi + 0x14], 2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00511a59
add esp, 0x5c
ret
mov ebp, esi
mov ecx, dword [ebp]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x4c], eax
test ecx, ecx
jle 0x46ff77
test eax, 0x4000
jne 0x46ff77
and bl, 0xf7
or bl, 0x10
xor esi, esi
mov byte [edi + 0xa0], bl
jmp 0x46ff90
and bl, 0xe7
xor esi, esi
mov byte [edi + 0xa0], bl
test ecx, ecx
jle 0x46ffd4
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + esi*4]
mov al, byte [edi + 0xa0]
mov cl, byte [edx + 0xcd]
shl cl, 3
or cl, al
xor cl, al
and cl, 8
xor cl, al
cmp dword [ebp], 1
mov byte [edi + 0xa0], cl
mov al, byte [edx + 0x36d]
setg cl
and al, 0xfe
inc esi
or cl, al
mov byte [edx + 0x36d], cl
cmp esi, dword [ebp]
jl 0x46ff90
mov eax, dword [edi + 0x10]
test dword [esp + 0x4c], 0x8000
je 0x46ffe5
and byte [edi + 0xa0], 0xf7
xor ebx, ebx
shr eax, 0xa
mov byte [esp + 0x13], bl
test al, 1
je 0x46fffa
mov ebx, dword [edi + 0x70]
jmp 0x4702b1
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x470243
test byte [edi + 0xa0], 1
je 0x470253
cmp dword [ebp], ebx
jle 0x47001e
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
jmp 0x470020
xor esi, esi
mov eax, dword [edi + 0x9c]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x47004a
test esi, esi
je 0x47008a
mov edx, dword [0x6815a8]
or dword [edx + 0x3ff0], 1
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
jmp 0x470061
cmp eax, 1
jne 0x47008a
mov edx, dword [0x6815a8]
or dword [edx + 0x3ff0], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov byte [edx + 0x402c], 1
mov dword [edx + 0x3ff4], 1
mov dword [edx + 0x4010], ebx
mov dword [edx + 0x400c], ebx
mov dword [edx + 0x4008], ecx
mov dword [edx + 0x4004], eax
mov eax, dword [edi + 0x9c]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x4700b3
test esi, esi
je 0x4700e1
mov edx, dword [0x6815a8]
or dword [edx + 0x3ff0], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
jmp 0x4700cb
cmp eax, 1
jne 0x4700e1
mov edx, dword [0x6815a8]
or dword [edx + 0x3ff0], 2
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [edx + 0x3ff8], 1
mov dword [edx + 0x4018], ecx
mov dword [edx + 0x4014], eax
mov eax, dword [edi + 0x9c]
and al, 0x38
cmp al, 0x10
jne 0x470114
test esi, esi
je 0x470114
mov ecx, dword [0x6815a8]
mov al, byte [esi + 0xc6]
or dword [ecx + 0x3ff0], 8
mov byte [ecx + 0x402d], al
mov dword [ecx + 0x3ffc], 1
mov eax, dword [edi + 0x9c]
and eax, 0x1c0
cmp eax, 0x80
jne 0x470142
test esi, esi
je 0x470142
mov eax, dword [0x6815a8]
mov ecx, dword [esi + 0x30]
or dword [eax + 0x3ff0], 0x100
mov dword [eax + 0x404c], ecx
mov ecx, dword [0x6815a8]
or dword [ecx + 0x3ff0], 0x400
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ecx + 0x4054], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [ecx + 0x4064], xmm0
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x406c], eax
lea eax, [esp + 0x54]
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.00475930
mov eax, dword [0x6815a8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
or dword [eax + 0x3ff0], 0x40
mov dword [eax + 0x4048], ebx
lea eax, [esp + 0x2c]
push eax
push 2
call fcn.0047ca10
push 0x20081139
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00465250
push 1
call fcn.0047c500
mov ebx, dword [esp + 0x40]
add esp, 0x28
mov eax, dword [edi + 0x70]
mov byte [esp + 0x13], 1
mov ebx, dword [ebx + 0x3f04]
test eax, eax
je 0x4701f3
cmp eax, ebx
je 0x4701f3
cmp dword [eax + 0x38c], edi
jne 0x4701f3
mov dword [eax + 0x38c], 0
mov dword [ebx + 0x38c], edi
mov dword [edi + 0x70], ebx
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x44]
movss dword [ebx + 0x108], xmm0
movss dword [ebx + 0x10c], xmm1
movss dword [edi + 0x34], xmm0
movss dword [edi + 0x38], xmm1
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x70]
mov dword [edi + 0x40], ecx
cmp byte [eax + 0xc9], 0
je 0x470249
push eax
call fcn.00469440
add esp, 4
jmp 0x470249
mov ebx, dword [eax + 0x70]
mov dword [edi + 0x70], ebx
and dword [edi + 0x9c], 0xfffffe00
test byte [edi + 0xa1], 1
je 0x4702b1
mov eax, dword [edi + 0x70]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4702b1
mov esi, dword [0x6815a8]
push eax
call fcn.00481dc0
movss xmm1, dword [esi + 0x3628]
add esp, 4
movss xmm0, dword [esi + 0x362c]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3f14], eax
movss dword [esi + 0x3f54], xmm1
movss dword [esi + 0x3f58], xmm0
and byte [edi + 0xa1], 0xfe
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x4702eb
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x4124]
test eax, eax
je 0x4702eb
mov eax, dword [eax + 0x324]
mov edx, dword [eax + 0x388]
test edx, edx
je 0x4702eb
cmp dword [eax + 0x31c], ebx
jne 0x4702eb
mov eax, dword [edx]
mov esi, dword [edi + 0x78]
mov dword [edi + 0x90], eax
jmp 0x4702f6
mov esi, dword [edi + 0x78]
test ecx, ecx
jne 0x4704ff
mov edx, esi
mov dword [esp + 0x3c], edx
test ebx, ebx
je 0x4704ff
mov eax, dword [esp + 0x4c]
and eax, 8
mov dword [esp + 0x14], eax
je 0x4704ff
test esi, esi
je 0x4704ff
cmp dword [esi + 0x1c], 0
jne 0x4704ff
cmp dword [esi + 0x24], 0
jne 0x4704ff
mov eax, dword [0x6815a8]
xor esi, esi
mov byte [esp + 0x12], 1
cmp byte [eax + 0x4294], 0
lea ecx, [eax + 0x42a4]
cmove ecx, esi
mov esi, edx
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4703ba
cmp dword [ecx + 0x10], 0xffffffff
je 0x4703b8
add ecx, 0x14
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x470385
test dl, dl
je 0x470381
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x470385
add eax, 2
add ecx, 2
test dl, dl
jne 0x470365
xor eax, eax
jmp 0x47038a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4703b4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov eax, dword [eax]
push dword [eax]
push ebx
call fcn.0046d3e0
add esp, 8
test al, al
je 0x4703ba
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x470515
mov edx, dword [esp + 0x3c]
mov esi, edx
mov eax, dword [esi + 0x18]
mov ecx, esi
test eax, eax
je 0x4703cc
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4703c3
movss xmm4, dword [esi + 0x34]
mov edx, esi
comiss xmm4, dword [ecx + 0x34]
mov dword [esp + 0x1c], edx
movss xmm6, dword [ecx + 0x38]
movaps xmm2, xmm4
movss xmm3, dword [edx + 0x38]
movaps xmm7, xmm6
addss xmm2, dword [esi + 0x3c]
movss xmm5, dword [ecx + 0x34]
movaps xmm1, xmm3
addss xmm1, dword [esi + 0x40]
addss xmm5, dword [ecx + 0x3c]
addss xmm7, dword [ecx + 0x40]
movss xmm0, dword [0x672034]
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm1
jbe 0x470433
addss xmm4, xmm0
movss dword [esp + 0x2c], xmm4
comiss xmm5, xmm2
jbe 0x470442
subss xmm2, xmm0
movss dword [esp + 0x34], xmm2
comiss xmm3, xmm6
jbe 0x470451
addss xmm3, xmm0
movss dword [esp + 0x30], xmm3
comiss xmm7, xmm1
jbe 0x470460
subss xmm1, xmm0
movss dword [esp + 0x38], xmm1
comiss xmm4, xmm2
ja 0x4704f5
comiss xmm3, xmm1
ja 0x4704f5
subss xmm2, xmm4
mov esi, edx
subss xmm1, xmm3
cvttss2si eax, xmm2
mov word [esp + 0x3c], ax
cvttss2si eax, xmm1
mov word [esp + 0x3e], ax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x24c], eax
subss xmm4, dword [ebx + 0x40]
subss xmm3, dword [ebx + 0x44]
cvttss2si eax, xmm4
mov word [esp + 0x3c], ax
cvttss2si eax, xmm3
mov word [esp + 0x3e], ax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x250], eax
mov eax, dword [ebx + 0x31c]
test eax, eax
je 0x470511
lea ecx, [esp + 0x3c]
movss dword [esp + 0x3c], xmm2
push ecx
lea ecx, [esp + 0x30]
movss dword [esp + 0x44], xmm1
push ecx
push eax
call fcn.00481050
mov eax, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x470515
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x470515
mov eax, dword [esp + 0x4c]
and eax, 8
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], eax
jmp 0x470515
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x18], 0
mov edx, esi
mov dword [esp + 0x1c], edx
mov ecx, eax
jne 0x470561
test ebx, ebx
je 0x4707bf
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.0048e2c0
push 0
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push edi
call fcn.0046f350
push edi
call fcn.0046f640
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov edx, esi
jmp 0x470569
test ebx, ebx
je 0x4707bf
cmp dword [edi + 0x1c], 0
jne 0x47064a
cmp dword [ebp], 0
jne 0x47064a
test byte [edi + 0xa0], 1
mov ecx, eax
mov esi, edx
je 0x47064c
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.0048e2c0
mov ecx, dword [esp + 0x4c]
and ecx, 8
mov dword [esp + 0x3c], ecx
je 0x4705c3
or byte [edi + 0xa0], 4
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x6c], 0
jmp 0x47064c
mov eax, dword [0x6815a8]
movups xmm0, xmmword [eax + 0x3b8c]
movups xmmword [esp + 0x2c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x2c]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.0046a830
add esp, 4
mov dword [edi + 0x6c], eax
test eax, eax
je 0x470639
movss xmm0, dword [edi + 0x34]
lea ecx, [edi + 0x34]
addss xmm0, dword [edi + 0x3c]
push 0
push ecx
mov dword [esp], 0
push eax
movss dword [esp + 0x58], xmm0
lea eax, [esp + 0x58]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [edi + 0x40]
push eax
push ecx
mov ecx, dword [ebx + 0x288]
movss dword [esp + 0x64], xmm0
call fcn.00489290
mov ecx, dword [esp + 0x3c]
or byte [edi + 0xa0], 4
mov esi, dword [esp + 0x1c]
jmp 0x47064c
mov ecx, eax
test ebx, ebx
je 0x4707bf
cmp dword [edi + 0x18], 0
jne 0x47079c
test ecx, ecx
je 0x47079c
test byte [edi + 0xa0], 1
je 0x47079c
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.0048e2c0
cmp byte [esp + 0x12], 0
mov eax, dword [0x6815a8]
movups xmm0, xmmword [eax + 0x393c]
je 0x47073a
movss xmm1, dword [esi + 0x34]
movups xmmword [esp + 0x3c], xmm0
push ecx
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x40]
mov dword [esp], 0
movss dword [esp + 0x30], xmm1
addss xmm1, dword [esi + 0x3c]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 0x38]
movss dword [esp + 0x34], xmm0
addss xmm0, dword [esi + 0x40]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [edi + 0x34]
movss dword [esp + 0x20], xmm1
addss xmm1, dword [edi + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 0x38]
movss dword [esp + 0x24], xmm0
addss xmm0, dword [edi + 0x40]
push eax
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
call fcn.0046a830
add esp, 4
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push dword [ebx + 0x288]
call fcn.0048d7f0
add esp, 0x14
jmp 0x47079c
movups xmmword [esp + 0x2c], xmm0
lea esi, [edi + 0x34]
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 0x2c]
push 0
push ecx
mov dword [esp], 0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi]
addss xmm0, dword [edi + 0x3c]
push eax
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [edi + 0x40]
movss dword [esp + 0x2c], xmm0
call fcn.0046a830
mov ecx, dword [ebx + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00489290
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.0048e2c0
cmp dword [ebp], 0
jle 0x4707bf
push ebx
push edi
call fcn.00470b40
add esp, 8
jmp 0x4707d9
mov al, byte [edi + 0xa0]
and al, 0xbf
mov dword [edi + 0x98], 0
and al, 0xfd
mov byte [edi + 0xa0], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4707e7
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4707f5
cmp dword [ebp], 0
jle 0x4707fb
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x94], eax
test ebx, ebx
je 0x47083b
test byte [edi + 0xa0], 1
je 0x47083b
cmp dword [edi + 0x18], 0
jne 0x47083b
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x3f14]
test eax, eax
je 0x470824
cmp dword [eax + 0x32c], ebx
je 0x47083b
push ebx
call fcn.00468100
mov eax, dword [ebp + 0x3ea0]
add esp, 4
mov dword [edi + 0x88], eax
jmp 0x47084f
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3ea0]
mov dword [edi + 0x88], eax
test ebx, ebx
je 0x4708a0
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x47085f
push eax
call fcn.0046fc30
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
je 0x47086f
push eax
call fcn.0046fc30
add esp, 4
cmp dword [edi + 0x18], 0
jne 0x47088f
mov ecx, dword [ebx + 0x288]
push 1
push ecx
add ecx, 0x78
call fcn.0048e2c0
push ebx
call fcn.0047f4e0
add esp, 4
mov ecx, dword [ebx + 0x288]
push 0
push ecx
add ecx, 0x78
call fcn.0048e2c0
cmp byte [esp + 0x13], 0
je 0x4708ac
call fcn.004729c0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511a59
add esp, 0x5c
ret