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

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x4afac0
test dword [0x87ed4c], 0xffffffff
jne 0x4b0090
call fcn.007663a0
jmp fcn.004afa90
push edi
push esi
push ebp
push ebx
sub esp, 0x8c
mov esi, eax
mov edx, dword [esi + 0x3c]
movzx ebx, byte [esi]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
call fcn.00586790
mov edi, eax
test edi, edi
jne 0x4afebf
movzx ecx, word [esi + 0x10]
test ecx, ecx
jle 0x4b0089
mov eax, dword [esp + 0x7c]
mov edx, eax
xor ebp, ebp
shr eax, 0x18
mov dword [esp + 0x78], eax
mov eax, edx
shr edx, 0x10
mov dword [esp + 0x74], edx
shr eax, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], ebx
movzx eax, word [esi + 0xc]
add eax, dword [esi + 0x40]
movzx ebx, word [esi + 0x12]
movzx ecx, byte [eax + ebp*2]
movzx edx, byte [eax + ebp*2 + 1]
shl ecx, 8
or ecx, edx
and ebx, ecx
add ebx, dword [esi + 0x40]
cmp dword [esp + 0x88], 0
jne 0x4afd07
mov eax, esi
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.00498b80
movzx eax, word [esp + 0x50]
test eax, eax
je 0x4afd07
movzx edx, byte [eax + ebx]
movzx ecx, byte [eax + ebx + 1]
movzx edi, byte [eax + ebx + 2]
movzx eax, byte [eax + ebx + 3]
shl edx, 0x18
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esi + 0x3c]
shl edi, 8
or edx, edi
or edx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
jne 0x4afbb4
mov dword [esp + 0x88], 0xb
jmp 0x4afd07
mov dword [esp + 0x5c], ebp
mov ebp, edx
mov eax, 0x66666667
mov dword [esp + 0x28], ebx
movzx ebx, word [ecx + 0x16]
imul ebx
sar ebx, 0x1f
lea eax, [ebp - 2]
mov edi, edx
sar edi, 1
sub edi, ebx
inc edi
xor edx, edx
div edi
mov dword [esp + 0xc], 0
mov ebp, eax
mov eax, dword [0x8339b0]
imul ebp, edi
lea ebx, [ebp + 2]
add ebp, 3
cdq
movzx edi, word [ecx + 0x14]
idiv edi
inc eax
cmp ebx, eax
mov eax, dword [ecx]
cmove ebx, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x24], ebx
mov edx, ebx
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x28]
call fcn.004a43e0
test eax, eax
jne 0x4afd00
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x24]
lea edx, [eax + eax*4 - 5]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
test edx, edx
jge 0x4afc48
mov dword [esp + 0x88], 0xb
jmp 0x4afce5
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
movzx edi, byte [edx + ecx]
mov dword [esp + 0x14], edx
cmp edi, 3
jne 0x4afc92
mov ecx, edx
mov edx, dword [esp + 0x1c]
movzx edi, byte [ecx + edx + 2]
mov dword [esp + 0x10], eax
shl edi, 0x10
movzx eax, byte [ecx + edx + 1]
shl eax, 0x18
or eax, edi
movzx edi, byte [ecx + edx + 3]
movzx edx, byte [ecx + edx + 4]
shl edi, 8
or eax, edi
or eax, edx
cmp eax, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
je 0x4afce9
call fcn.00579000
mov dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0
je 0x4afcae
mov eax, dword [esp + 0x20]
jmp 0x4afce5
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov edx, eax
mov byte [ecx + edi], 3
shr eax, 0x18
shr edx, 0x10
mov byte [ecx + edi + 1], al
mov eax, dword [esp + 0x20]
mov byte [ecx + edi + 2], dl
mov edx, dword [esp + 0x64]
shr edx, 8
mov byte [ecx + edi + 3], dl
mov edx, dword [esp + 0x64]
mov byte [ecx + edi + 4], dl
test eax, eax
je 0x4afd07
mov edx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
call fcn.0057a950
mov eax, dword [esp + 0x18]
call fcn.0057aac0
jmp 0x4afd07
mov dword [esp + 0x88], eax
movzx eax, byte [esi + 3]
test eax, eax
jne 0x4afe9c
movzx edi, byte [ebx]
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx + 2]
movzx ecx, byte [ebx + 3]
shl edi, 0x18
shl eax, 0x10
or edi, eax
shl edx, 8
or edi, edx
or edi, ecx
cmp dword [esp + 0x88], 0
jne 0x4afeaf
test edi, edi
jne 0x4afd61
inc ebp
cmp ebp, dword [esp + 0x84]
mov dword [esp + 0x88], 0xb
jl 0x4afb2c
jmp 0x4afece
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x5c], ebp
movzx ebp, word [ebx + 0x16]
mov dword [esp + 0x60], edi
mov eax, 0x66666667
imul ebp
sar ebp, 0x1f
lea eax, [edi - 2]
mov ecx, edx
sar ecx, 1
sub ecx, ebp
inc ecx
xor edx, edx
mov dword [esp + 0xc], 0
div ecx
mov ebp, eax
mov eax, dword [0x8339b0]
imul ebp, ecx
lea edi, [ebp + 2]
cdq
movzx ecx, word [ebx + 0x14]
idiv ecx
add ebp, 3
lea ecx, [esp + 0x54]
inc eax
cmp edi, eax
mov eax, dword [ebx]
cmove edi, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x58], edi
mov edx, edi
mov edi, dword [esp + 0x60]
call fcn.004a43e0
test eax, eax
jne 0x4afe95
sub edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
lea edx, [edi + edi*4 - 5]
mov dword [esp + 0x30], edx
test edx, edx
jge 0x4afdf6
mov dword [esp + 0x88], 0xb
jmp 0x4afe80
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
movzx ebx, byte [edx + ecx]
mov dword [esp + 0x2c], edx
cmp ebx, 5
jne 0x4afe34
mov ebx, edx
movzx edx, byte [ebx + ecx + 1]
movzx edi, byte [ebx + ecx + 2]
shl edx, 0x18
shl edi, 0x10
or edx, edi
movzx edi, byte [ebx + ecx + 3]
movzx ecx, byte [ebx + ecx + 4]
shl edi, 8
or edx, edi
or edx, ecx
cmp edx, dword [esp + 0x7c]
je 0x4afe84
call fcn.00579000
mov dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0
je 0x4afe50
mov eax, dword [esp + 0x54]
jmp 0x4afe80
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov byte [ebx + edi], 5
mov byte [ebx + edi + 1], al
mov eax, dword [esp + 0x54]
mov byte [ebx + edi + 2], dl
mov byte [ebx + edi + 3], cl
mov ecx, dword [esp + 0x7c]
mov byte [ebx + edi + 4], cl
test eax, eax
je 0x4afe9c
mov ebx, dword [eax + 0x10]
call fcn.0057a950
mov eax, ebx
call fcn.0057aac0
jmp 0x4afe9c
mov dword [esp + 0x88], eax
inc ebp
cmp ebp, dword [esp + 0x84]
jl 0x4afb2c
jmp 0x4b006d
inc ebp
cmp ebp, dword [esp + 0x84]
jl 0x4afb2c
jmp 0x4afece
mov byte [esi], bl
mov eax, edi
add esp, 0x8c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
movzx edx, byte [esi + 5]
mov eax, dword [esi + 0x40]
movzx ecx, byte [edx + eax + 8]
movzx ebp, byte [edx + eax + 9]
shl ecx, 0x18
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [edx + eax + 0xa]
movzx eax, byte [edx + eax + 0xb]
shl ebp, 8
or ecx, ebp
or ecx, eax
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x4afebf
cmp dword [esp + 0x14], 0
jne 0x4aff19
mov edi, 0xb
jmp 0x4afebf
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x6c], ebx
movzx ebx, word [ecx + 0x16]
mov dword [esp + 0x88], edi
mov eax, 0x66666667
imul ebx
sar ebx, 0x1f
lea eax, [ebp - 2]
mov edi, edx
sar edi, 1
sub edi, ebx
inc edi
xor edx, edx
mov dword [esp + 0xc], 0
div edi
mov ebp, eax
mov eax, dword [0x8339b0]
imul ebp, edi
lea ebx, [ebp + 2]
cdq
movzx edi, word [ecx + 0x14]
idiv edi
add ebp, 3
inc eax
mov edi, dword [esp + 0x88]
cmp ebx, eax
cmove ebx, ebp
mov eax, dword [ecx]
mov dword [esp + 0x10], ebx
mov edx, ebx
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
call fcn.004a43e0
test eax, eax
jne 0x4b0066
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
lea edx, [eax + eax*4 - 5]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
test edx, edx
jge 0x4affb6
mov edi, 0xb
jmp 0x4b0044
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
movzx ebp, byte [edx + ecx]
mov dword [esp + 0x14], edx
cmp ebp, 5
jne 0x4afffc
mov dword [esp + 0x10], eax
mov eax, ecx
movzx ecx, byte [edx + eax + 1]
movzx ebp, byte [edx + eax + 2]
shl ecx, 0x18
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [edx + eax + 3]
movzx eax, byte [edx + eax + 4]
shl ebp, 8
or ecx, ebp
or ecx, eax
mov eax, dword [esp + 0x10]
cmp ecx, dword [esp + 0x7c]
je 0x4b004c
call fcn.00579000
mov edi, eax
test edi, edi
je 0x4b000d
mov eax, dword [esp + 0x1c]
jmp 0x4b0044
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
mov edx, eax
mov byte [ecx + ebp], 5
shr eax, 0x18
shr edx, 0x10
mov byte [ecx + ebp + 1], al
mov eax, dword [esp + 0x7c]
shr eax, 8
mov byte [ecx + ebp + 2], dl
mov byte [ecx + ebp + 3], al
mov eax, dword [esp + 0x7c]
mov byte [ecx + ebp + 4], al
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4afebf
mov edx, dword [eax + 0x10]
mov dword [esp + 0x10], edx
call fcn.0057a950
mov eax, dword [esp + 0x10]
call fcn.0057aac0
jmp 0x4afebf
mov edi, eax
jmp 0x4afebf
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
movzx eax, byte [esi + 3]
test eax, eax
jne 0x4afebf
jmp 0x4afed9
movzx eax, byte [esi + 3]
jmp 0x4b007c
push edi
push esi
push ebp
push ebx
sub esp, 0x8c
mov esi, eax
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x80], edx
movzx ebx, byte [esi]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x7c], ecx
call fcn.00586790
mov edi, eax
test edi, edi
jne 0x4b0499
movzx ecx, word [esi + 0x10]
test ecx, ecx
jle 0x4b0666
xor ebp, ebp
mov eax, dword [esp + 0x7c]
shr eax, 0x18
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x7c]
shr edx, 0x10
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x7c]
shr eax, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], ebx
movzx eax, word [esi + 0xc]
add eax, dword [esi + 0x40]
movzx ebx, word [esi + 0x12]
movzx ecx, byte [eax + ebp*2]
shl ecx, 8
movzx edx, byte [eax + ebp*2 + 1]
or ecx, edx
and ebx, ecx
add ebx, dword [esi + 0x40]
cmp dword [esp + 0x88], 0
jne 0x4b02e0
mov eax, esi
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.00498b80
movzx eax, word [esp + 0x50]
test eax, eax
je 0x4b02e0
movzx edx, byte [eax + ebx]
shl edx, 0x18
movzx ecx, byte [eax + ebx + 1]
shl ecx, 0x10
or edx, ecx
movzx edi, byte [eax + ebx + 2]
shl edi, 8
or edx, edi
movzx eax, byte [eax + ebx + 3]
or edx, eax
mov dword [esp + 0x68], edx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x64], eax
jne 0x4b0188
mov dword [esp + 0x88], 0xb
jmp 0x4b02e0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], ebx
movzx ebx, word [ecx + 0x16]
mov eax, 0x66666667
imul ebx
mov edi, edx
sar edi, 1
sar ebx, 0x1f
sub edi, ebx
inc edi
mov ebp, dword [esp + 0x68]
lea eax, [ebp - 2]
xor edx, edx
div edi
mov ebp, eax
imul ebp, edi
lea ebx, [ebp + 2]
add ebp, 3
movzx edi, word [ecx + 0x14]
mov eax, dword [0x8339b0]
cdq
idiv edi
inc eax
cmp ebx, eax
jne 0x4b01ce
mov ebx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
mov edx, ebx
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
call fcn.004a43e0
test eax, eax
jne 0x4b02d9
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x24]
lea edx, [eax + eax*4 - 5]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x20]
test edx, edx
jge 0x4b021f
mov dword [esp + 0x88], 0xb
jmp 0x4b02be
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x1c]
movzx edi, byte [edx + ecx]
cmp edi, 3
jne 0x4b0269
mov dword [esp + 0x10], eax
mov ecx, edx
mov edx, dword [esp + 0x1c]
movzx eax, byte [ecx + edx + 1]
shl eax, 0x18
movzx edi, byte [ecx + edx + 2]
shl edi, 0x10
or eax, edi
movzx edi, byte [ecx + edx + 3]
shl edi, 8
or eax, edi
movzx edx, byte [ecx + edx + 4]
or eax, edx
cmp eax, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
je 0x4b02c2
call fcn.00579000
mov dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0
je 0x4b0285
mov eax, dword [esp + 0x20]
jmp 0x4b02be
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov byte [ecx + edi], 3
mov eax, dword [esp + 0x64]
shr eax, 0x18
mov byte [ecx + edi + 1], al
mov edx, dword [esp + 0x64]
shr edx, 0x10
mov byte [ecx + edi + 2], dl
mov edx, dword [esp + 0x64]
shr edx, 8
mov byte [ecx + edi + 3], dl
mov edx, dword [esp + 0x64]
mov byte [ecx + edi + 4], dl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b02e0
mov edx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
call fcn.0057a950
mov eax, dword [esp + 0x18]
call fcn.0057aac0
jmp 0x4b02e0
mov dword [esp + 0x88], eax
movzx eax, byte [esi + 3]
test eax, eax
jne 0x4b0476
movzx edi, byte [ebx]
shl edi, 0x18
movzx eax, byte [ebx + 1]
shl eax, 0x10
or edi, eax
movzx edx, byte [ebx + 2]
shl edx, 8
or edi, edx
movzx ecx, byte [ebx + 3]
or edi, ecx
cmp dword [esp + 0x88], 0
jne 0x4b0489
test edi, edi
jne 0x4b033a
inc ebp
mov dword [esp + 0x88], 0xb
cmp ebp, dword [esp + 0x84]
jl 0x4b0100
jmp 0x4b04a8
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov ebx, dword [esp + 0x80]
movzx ebp, word [ebx + 0x16]
mov eax, 0x66666667
imul ebp
mov ecx, edx
sar ecx, 1
sar ebp, 0x1f
sub ecx, ebp
inc ecx
lea eax, [edi - 2]
xor edx, edx
div ecx
mov ebp, eax
imul ebp, ecx
lea edi, [ebp + 2]
add ebp, 3
movzx ecx, word [ebx + 0x14]
mov eax, dword [0x8339b0]
cdq
idiv ecx
inc eax
cmp edi, eax
jne 0x4b0383
mov edi, ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], 0
mov eax, dword [ebx]
mov edx, edi
lea ecx, [esp + 0x54]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
call fcn.004a43e0
test eax, eax
jne 0x4b046f
sub edi, dword [esp + 0x58]
lea edx, [edi + edi*4 - 5]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x54]
test edx, edx
jge 0x4b03d0
mov dword [esp + 0x88], 0xb
jmp 0x4b045a
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x30]
movzx ebx, byte [edx + ecx]
cmp ebx, 5
jne 0x4b040e
mov ebx, edx
movzx edx, byte [ebx + ecx + 1]
shl edx, 0x18
movzx edi, byte [ebx + ecx + 2]
shl edi, 0x10
or edx, edi
movzx edi, byte [ebx + ecx + 3]
shl edi, 8
or edx, edi
movzx ecx, byte [ebx + ecx + 4]
or edx, ecx
cmp edx, dword [esp + 0x7c]
je 0x4b045e
call fcn.00579000
mov dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0
je 0x4b042a
mov eax, dword [esp + 0x54]
jmp 0x4b045a
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov byte [ebx + edi], 5
mov eax, dword [esp + 0x78]
mov byte [ebx + edi + 1], al
mov edx, dword [esp + 0x74]
mov byte [ebx + edi + 2], dl
mov ecx, dword [esp + 0x70]
mov byte [ebx + edi + 3], cl
mov ecx, dword [esp + 0x7c]
mov byte [ebx + edi + 4], cl
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b0476
mov ebx, dword [eax + 0x10]
call fcn.0057a950
mov eax, ebx
call fcn.0057aac0
jmp 0x4b0476
mov dword [esp + 0x88], eax
inc ebp
cmp ebp, dword [esp + 0x84]
jl 0x4b0100
jmp 0x4b064a
inc ebp
cmp ebp, dword [esp + 0x84]
jl 0x4b0100
jmp 0x4b04a8
mov byte [esi], bl
mov eax, edi
add esp, 0x8c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
movzx edx, byte [esi + 5]
mov eax, dword [esi + 0x40]
movzx ecx, byte [edx + eax + 8]
shl ecx, 0x18
movzx ebp, byte [edx + eax + 9]
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [edx + eax + 0xa]
shl ebp, 8
or ecx, ebp
movzx eax, byte [edx + eax + 0xb]
or ecx, eax
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x4b0499
cmp dword [esp + 0x14], 0
jne 0x4b04f3
mov edi, 0xb
jmp 0x4b0499
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x80]
movzx ebx, word [ecx + 0x16]
mov eax, 0x66666667
imul ebx
mov edi, edx
sar edi, 1
sar ebx, 0x1f
sub edi, ebx
inc edi
mov ebp, dword [esp + 0x14]
lea eax, [ebp - 2]
xor edx, edx
div edi
mov ebp, eax
imul ebp, edi
lea ebx, [ebp + 2]
add ebp, 3
movzx edi, word [ecx + 0x14]
mov eax, dword [0x8339b0]
cdq
idiv edi
inc eax
cmp ebx, eax
jne 0x4b0543
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
mov edx, ebx
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
call fcn.004a43e0
test eax, eax
jne 0x4b0643
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
lea edx, [eax + eax*4 - 5]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
test edx, edx
jge 0x4b0591
mov edi, 0xb
jmp 0x4b0621
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x18]
movzx ebp, byte [edx + ecx]
cmp ebp, 5
jne 0x4b05d7
mov dword [esp + 0x10], eax
mov eax, ecx
movzx ecx, byte [edx + eax + 1]
shl ecx, 0x18
movzx ebp, byte [edx + eax + 2]
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [edx + eax + 3]
shl ebp, 8
or ecx, ebp
movzx eax, byte [edx + eax + 4]
or ecx, eax
cmp ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
je 0x4b0629
call fcn.00579000
mov edi, eax
test edi, edi
je 0x4b05e8
mov eax, dword [esp + 0x1c]
jmp 0x4b0621
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov byte [ecx + ebp], 5
mov eax, dword [esp + 0x7c]
shr eax, 0x18
mov byte [ecx + ebp + 1], al
mov edx, dword [esp + 0x7c]
shr edx, 0x10
mov byte [ecx + ebp + 2], dl
mov eax, dword [esp + 0x7c]
shr eax, 8
mov byte [ecx + ebp + 3], al
mov eax, dword [esp + 0x7c]
mov byte [ecx + ebp + 4], al
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b0499
mov edx, dword [eax + 0x10]
mov dword [esp + 0x10], edx
call fcn.0057a950
mov eax, dword [esp + 0x10]
call fcn.0057aac0
jmp 0x4b0499
mov edi, eax
jmp 0x4b0499
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x6c]
movzx eax, byte [esi + 3]
test eax, eax
jne 0x4b0499
jmp 0x4b04b3
movzx eax, byte [esi + 3]
jmp 0x4b0659