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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
test eax, eax
mov ecx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
lea edi, [eax + ecx]
mov dword [esp + 0x38], eax
cmove edi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], 0xe2
mov dword [esp + 0x60], edi
cmp ebx, 2
jne 0x4b89c2
mov ebx, dword [esi + 0x74]
mov edx, ebx
mov eax, dword [esi + 0x10]
test ebx, ebx
mov dword [esp + 0x20], ebx
cmove edx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x4b89e0
mov ebp, dword [esi + 0xc]
mov edx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], edx
cmp ebx, 3
je 0x4b8a31
cmp dword [esp + 0x20], 0
mov ebx, 0xa1
mov eax, 0x81
cmove ebx, eax
cmp dword [esp + 0x6c], 1
mov dword [esp + 0x18], ebx
jne 0x4b8ad2
cmp edx, dword [edx + 0x10]
jne 0x4b8ad2
test edi, edi
je 0x4b8a25
mov dword [edi + 1], 0x1075053
mov word [edi + 5], 0xefbe
add edi, 7
mov dword [esp + 0x60], edi
mov byte [edi], 0
lea eax, [ecx + 7]
mov dword [esp + 0x44], eax
jmp 0x4b8ad2
push dword [ebp + 0x10]
mov byte [esp + 0x68], 0x89
call fcn.004633c0
movzx edx, byte [esp + 0x68]
mov ebx, 0xa000
push dword [ebp + 0x10]
cmp ax, bx
mov ecx, 0x8d
cmove edx, ecx
mov al, dl
or al, 0x40
cmp dword [esi + 0x74], 0
movzx ecx, al
movzx eax, dl
cmove ecx, eax
mov al, cl
or al, 0x10
cmp dword [esi + 0x78], 0
movzx ebx, al
movzx eax, cl
cmove ebx, eax
call fcn.004633c0
mov ecx, 0x2000
add esp, 8
cmp ax, cx
je 0x4b8ab5
push dword [ebp + 0x10]
mov al, bl
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], esi
call fcn.004633c0
mov ecx, 0x6000
add esp, 4
cmp ax, cx
jne 0x4b8ace
or bl, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], esi
jmp 0x4b8ad2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 5
jge 0x4b8af4
lea eax, [esp + 0x34]
push 5
push eax
call fcn.004b8740
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x4b8b08
mov dword [edi + 1], 0x1055252
add edi, 5
mov dword [esp + 0x60], edi
mov byte [edi], bl
cmp dword [esp + 0x34], 0
je 0x4b8b24
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b8b24
add dword [eax + 4], 5
mov ecx, dword [esp + 0x44]
mov edx, 0xff
add ecx, 5
mov dword [esp + 0x44], ecx
test bl, 8
je 0x4b8c73
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0x24]
sub eax, ecx
mov ebp, dword [ebp + 0x20]
cmp eax, 6
jge 0x4b8b68
lea eax, [esp + 0x34]
push 6
push eax
call fcn.004b8740
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov edx, 0xff
test edi, edi
je 0x4b8b76
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
mov ebx, dword [esp + 0x4c]
lea eax, [esi + 5]
sub ebx, dword [esp + 0x44]
cmp ebx, 0xff
cmova ebx, edx
cmp eax, ebx
jbe 0x4b8c32
test edi, edi
je 0x4b8bb0
lea eax, [ebx - 5]
mov byte [edi + 3], bl
push eax
lea eax, [edi + 6]
mov byte [edi + 5], 1
push ebp
push eax
call fcn.004174c0
add esp, 0xc
add edi, ebx
mov eax, 5
add ebp, 0xfffffffb
sub eax, ebx
add ebp, ebx
add esi, eax
cmp dword [esp + 0x34], 0
je 0x4b8bd9
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b8bd9
add dword [eax + 4], ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, ebx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 6
jge 0x4b8c15
lea eax, [esp + 0x34]
push 6
push eax
call fcn.004b8740
mov ebx, dword [esp + 0x54]
add esp, 8
sub ebx, dword [esp + 0x44]
mov edx, 0xff
cmp ebx, 0xff
mov edi, eax
cmova ebx, edx
test edi, edi
je 0x4b8c23
mov word [edi + 1], 0x4d4e
mov byte [edi + 4], 1
lea eax, [esi + 5]
cmp eax, ebx
ja 0x4b8b92
mov dword [esp + 0x60], edi
lea ebx, [esi + 5]
test edi, edi
je 0x4b8c54
push esi
lea eax, [edi + 6]
mov byte [edi + 3], bl
push ebp
push eax
mov byte [edi + 5], 0
call fcn.004174c0
add esp, 0xc
add edi, ebx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x4b8c6f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b8c6f
add dword [eax + 4], ebx
add dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x2c
jge 0x4b8c95
lea eax, [esp + 0x34]
push 0x2c
push eax
call fcn.004b8740
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
test edi, edi
je 0x4b8e1d
mov ebp, dword [esp + 0x10]
add ebp, 0x10
mov dword [esp + 0x14], ebp
push dword [ebp]
call fcn.004636b0
push dword [ebp]
movzx esi, ax
call fcn.00463950
push dword [ebp]
mov dword [esp + 0x68], eax
call fcn.004635a0
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov dword [esp + 0x60], eax
mov ecx, dword [ecx + 0x10228]
and ecx, 0x1800000
cmp ecx, 0x1000000
jne 0x4b8cf2
and esi, 0xf16d
or esi, 0x16d
movzx ebx, si
mov edx, ebx
mov dword [edi + 1], 0x12c5850
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
mov byte [edi + 0xc], bl
push dword [ebp]
call fcn.004636f0
mov ebx, eax
lea esi, [edi + 0x25]
shr eax, 0x18
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
add esp, 4
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0xd], bl
mov byte [edi + 0x14], bl
mov ebx, dword [esp + 0x5c]
mov eax, ebx
shr eax, 0x18
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x12], cl
mov ecx, ebx
mov byte [edi + 0x13], dl
mov edx, ebx
mov byte [edi + 0x18], al
mov byte [edi + 0x19], al
mov byte [edi + 0x15], bl
mov byte [edi + 0x1c], bl
mov ebx, dword [esp + 0x60]
mov eax, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0x16], dl
mov byte [edi + 0x17], cl
mov byte [edi + 0x1a], cl
mov ecx, ebx
mov byte [edi + 0x1b], dl
mov edx, ebx
mov byte [edi + 0x20], al
mov byte [edi + 0x21], al
mov eax, dword [esp + 0x64]
shr edx, 8
shr ecx, 0x10
mov byte [edi + 0x1d], bl
mov byte [edi + 0x1e], dl
mov byte [edi + 0x1f], cl
mov byte [edi + 0x22], cl
mov byte [edi + 0x23], dl
mov byte [edi + 0x24], bl
test byte [eax + 0x88], 2
je 0x4b8df1
mov ebx, dword [eax + 0x58]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
add edi, 0x2c
mov byte [esi + 1], dl
mov byte [esi + 6], dl
mov edx, dword [esp + 0x10]
mov byte [esi], bl
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 7], bl
mov dword [esp + 0x60], edi
jmp 0x4b8e28
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b8e01
mov eax, dword [eax + 0x68]
jmp 0x4b8e04
mov eax, dword [ecx + 0x68]
push dword [eax + 0x14]
push esi
call fcn.004beb70
mov edx, dword [esp + 0x18]
add esp, 8
add edi, 0x2c
mov dword [esp + 0x60], edi
jmp 0x4b8e28
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x34], 0
je 0x4b8e44
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b8e44
add dword [eax + 4], 0x2c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
add ecx, 0x2c
mov dword [esp + 0x44], ecx
test al, 4
je 0x4b90e0
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 7
jge 0x4b8e7b
lea eax, [esp + 0x34]
push 7
push eax
call fcn.004b8740
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
xor bl, bl
mov esi, dword [eax + 0x38]
test edi, edi
je 0x4b8e92
mov byte [edi + 4], 1
mov word [edi + 1], 0x4c53
mov eax, dword [esp + 0x4c]
mov ecx, 0xff
sub eax, dword [esp + 0x44]
cmp eax, 0xff
mov byte [esp + 0x5c], 0
cmovg eax, ecx
xor ebp, ebp
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x1c], eax
cmp byte [esi], al
je 0x4b9044
mov eax, edi
lea ecx, [edi + 6]
neg eax
mov edx, 0xb
mov edi, ebp
sbb eax, eax
and eax, ecx
cmp edx, dword [esp + 0x2c]
jge 0x4b903c
test bl, bl
jne 0x4b8f08
cmp byte [esi], 0x2f
jne 0x4b8f0d
test eax, eax
je 0x4b8ef8
mov ecx, eax
mov byte [eax + 1], bl
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 8
add ebp, 2
add edx, 2
inc esi
mov bl, 0x2f
xor edi, edi
jmp 0x4b9033
cmp bl, 0x2f
jne 0x4b8f24
cmp byte [esi], 0x2e
jne 0x4b8f24
cmp byte [esi + 1], 0x2e
jne 0x4b8f24
mov cl, byte [esi + 2]
cmp cl, 0x2f
je 0x4b8f42
test cl, cl
je 0x4b8f42
mov cl, byte [esi]
cmp cl, 0x2f
jne 0x4b8f72
cmp byte [esi + 1], 0x2e
jne 0x4b8f72
cmp byte [esi + 2], 0x2e
jne 0x4b8f72
mov ch, byte [esi + 3]
cmp ch, cl
je 0x4b8f42
test ch, ch
jne 0x4b8f72
test eax, eax
je 0x4b8f56
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 4
xor ecx, ecx
add ebp, 2
add edx, 2
xor edi, edi
cmp byte [esi], 0x2f
mov bl, 0x2e
sete cl
add ecx, 2
add esi, ecx
jmp 0x4b9033
test bl, bl
je 0x4b8f7b
cmp bl, 0x2f
jne 0x4b8f8f
cmp cl, 0x2e
jne 0x4b8f8f
mov ch, byte [esi + 1]
lea ebx, [esi + 1]
cmp ch, 0x2f
je 0x4b8fb8
test ch, ch
je 0x4b8fb8
cmp cl, 0x2f
jne 0x4b8fe8
cmp byte [esi + 1], 0x2e
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
jne 0x4b8ff5
mov bl, byte [esi + 2]
mov byte [esp + 0x64], bl
mov ebx, ecx
cmp byte [esp + 0x64], 0x2f
je 0x4b8fb8
cmp byte [esp + 0x64], 0
jne 0x4b8ff5
test eax, eax
je 0x4b8fcc
mov ecx, eax
mov byte [eax + 1], 0
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 2
add ebp, 2
add edx, 2
cmp byte [esi], 0x2f
jne 0x4b8fe0
add esi, 2
mov bl, 0x2e
xor edi, edi
jmp 0x4b9033
mov esi, ebx
xor edi, edi
mov bl, 0x2e
jmp 0x4b9033
mov bl, cl
test edi, edi
jne 0x4b9027
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x4b900e
mov ecx, eax
mov byte [eax + 1], 0
lea edi, [eax + 1]
mov dword [esp + 0x1c], ecx
add eax, 2
mov byte [ecx], 0
jmp 0x4b9012
lea edi, [esp + 0x5c]
mov bl, byte [esi]
add ebp, 2
mov ecx, dword [esp + 0x28]
add edx, 2
mov esi, ecx
cmp bl, 0x2f
jne 0x4b9028
jmp 0x4b9033
inc esi
test eax, eax
je 0x4b9031
mov byte [eax], bl
inc eax
inc byte [edi]
inc ebp
inc edx
cmp byte [esi], 0
jne 0x4b8ed2
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
cmp byte [esi], 0
lea edx, [ebp + 5]
je 0x4b90ae
test edi, edi
je 0x4b9060
or byte [eax], 1
mov byte [edi + 3], dl
mov byte [edi + 5], 1
add edi, edx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x34], 0
je 0x4b907b
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b907b
add dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
cmp eax, 0xb
jge 0x4b8e84
lea eax, [esp + 0x34]
push 0xb
push eax
call fcn.004b8740
mov edi, eax
add esp, 8
mov dword [esp + 0x60], edi
jmp 0x4b8e84
test edi, edi
je 0x4b90bb
mov byte [edi + 3], dl
mov byte [edi + 5], 0
add edi, edx
cmp dword [esp + 0x34], 0
je 0x4b90d6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b90d6
add dword [eax + 4], edx
add dword [esp + 0x44], edx
mov esi, dword [esp + 0x14]
jmp 0x4b90e7
lea esi, [edx + 0x10]
mov dword [esp + 0x14], esi
push dword [esi]
mov ebp, 5
xor bl, bl
mov dword [esp + 0x68], ebp
call fcn.00463300
add esp, 4
test eax, eax
je 0x4b9136
push dword [esi]
call fcn.004632e0
mov dword [esp + 0x60], eax
mov esi, edx
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.004636c0
add esp, 8
cmp esi, edx
jg 0x4b9132
jl 0x4b9127
cmp dword [esp + 0x5c], eax
ja 0x4b9132
mov ebp, 0xc
mov bl, 1
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x14]
push dword [esi]
call fcn.004636e0
add esp, 4
test eax, eax
je 0x4b914e
add ebp, 7
or bl, 2
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.004632d0
add esp, 4
test eax, eax
je 0x4b9166
add ebp, 7
or bl, 4
mov dword [esp + 0x64], ebp
push dword [esi]
call fcn.00463330
mov ecx, dword [esp + 0x68]
add esp, 4
test eax, eax
je 0x4b9182
add ecx, 7
or bl, 8
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, ecx
jge 0x4b91a2
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.004b8740
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edi, eax
test edi, edi
je 0x4b9230
mov word [edi + 1], 0x4654
mov byte [edi + 3], cl
mov byte [edi + 4], 1
add edi, 5
mov byte [edi], bl
test bl, 1
je 0x4b91d9
push dword [esi]
call fcn.004632e0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004bedd0
add esp, 0x10
add edi, 7
test bl, 2
je 0x4b91f6
push dword [esi]
call fcn.004636c0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004bedd0
add esp, 0x10
add edi, 7
test bl, 4
je 0x4b9213
push dword [esi]
call fcn.004632b0
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004bedd0
add esp, 0x10
add edi, 7
test bl, 8
je 0x4b9230
push dword [esi]
call fcn.00463310
push edx
push eax
lea eax, [edi + 1]
push eax
call fcn.004bedd0
add esp, 0x10
add edi, 7
cmp dword [esp + 0x34], 0
mov ebp, dword [esp + 0x64]
je 0x4b924f
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b924f
add dword [eax + 4], ebp
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
add ecx, ebp
mov dword [esp + 0x44], ecx
test bl, 0x40
je 0x4b92b3
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 4
jge 0x4b927e
lea eax, [esp + 0x34]
push 4
push eax
call fcn.004b8740
add esp, 8
mov edi, eax
test edi, edi
je 0x4b9292
mov word [edi + 1], 0x4552
mov byte [edi + 3], 4
add edi, 4
mov byte [edi], 1
cmp dword [esp + 0x34], 0
je 0x4b92ae
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b92ae
add dword [eax + 4], 4
add dword [esp + 0x44], 4
test bl, 0x20
je 0x4b933b
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x4b92da
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.004b8740
add esp, 8
mov edi, eax
test edi, edi
je 0x4b931a
mov eax, dword [esp + 0x20]
mov dword [edi + 1], 0x10c4c50
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x4b9336
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b9336
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 0x10
je 0x4b93c6
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0xc
jge 0x4b9362
lea eax, [esp + 0x34]
push 0xc
push eax
call fcn.004b8740
add esp, 8
mov edi, eax
test edi, edi
je 0x4b93a5
mov eax, dword [esp + 0x24]
mov dword [edi + 1], 0x10c4c43
mov eax, dword [eax + 0x78]
mov ebx, dword [eax + 0x58]
mov edx, ebx
mov ecx, ebx
shr edx, 8
mov eax, ebx
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 5], bl
mov byte [edi + 0xc], bl
mov ebx, dword [esp + 0x18]
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
add edi, 0xc
cmp dword [esp + 0x34], 0
je 0x4b93c1
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b93c1
add dword [eax + 4], 0xc
add dword [esp + 0x44], 0xc
test bl, 2
je 0x4b9478
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x14
jge 0x4b93ed
lea eax, [esp + 0x34]
push 0x14
push eax
call fcn.004b8740
add esp, 8
mov edi, eax
test edi, edi
je 0x4b9457
mov dword [edi + 1], 0x1144e50
push dword [esi]
call fcn.00463810
mov ebx, eax
mov byte [edi + 5], 0
xor edx, edx
mov byte [edi + 0xc], 0
xor ecx, ecx
shr edx, 8
xor eax, eax
shr ecx, 0x10
shr eax, 0x18
add esp, 4
mov byte [edi + 6], dl
mov byte [edi + 7], cl
mov byte [edi + 8], al
mov byte [edi + 9], al
mov eax, ebx
mov byte [edi + 0xa], cl
mov ecx, ebx
mov byte [edi + 0xb], dl
mov edx, ebx
shr edx, 8
shr ecx, 0x10
shr eax, 0x18
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0x12], cl
mov byte [edi + 0x13], dl
mov byte [edi + 0x14], bl
add edi, 0x14
cmp dword [esp + 0x34], 0
je 0x4b9473
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b9473
add dword [eax + 4], 0x14
add dword [esp + 0x44], 0x14
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x74], 0
je 0x4b9515
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp eax, 0x10
jge 0x4b94a8
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.004b8740
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, eax
test edi, edi
je 0x4b94f4
mov dword [edi + 1], 0x110465a
mov word [edi + 5], 0x7a70
movzx eax, byte [ecx + 0x74]
mov byte [edi + 7], al
movzx eax, byte [ecx + 0x75]
mov byte [edi + 8], al
mov ebx, dword [ecx + 0x78]
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [edi + 9], bl
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], cl
mov byte [edi + 0xc], al
mov byte [edi + 0xd], al
mov byte [edi + 0xe], cl
mov byte [edi + 0xf], dl
mov byte [edi + 0x10], bl
add edi, 0x10
cmp dword [esp + 0x34], 0
je 0x4b9510
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b9510
add dword [eax + 4], 0x10
add dword [esp + 0x44], 0x10
cmp dword [esp + 0x6c], 1
jne 0x4b9567
mov eax, dword [esp + 0x24]
cmp eax, dword [eax + 0x10]
jne 0x4b9567
test edi, edi
je 0x4b9546
mov eax, dword [esp + 0x68]
push 0xed
push 0
push dword [eax + 0x10c]
lea eax, [edi + 1]
push eax
call fcn.004bee60
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x4b9562
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x4b9562
add dword [eax + 4], 0x1c
add dword [esp + 0x44], 0x1c
mov eax, dword [esp + 0x44]
xor ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
test al, 1
je 0x4b958b
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4b9586
mov byte [ecx + eax], 0
mov ecx, 1
cmp dword [esp + 0x24], 0
je 0x4b95ba
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4b95b2
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
push edx
call fcn.004bee60
add esp, 0x10
mov eax, dword [esp + 0x38]
add esp, 0x48
ret
mov eax, dword [esp + 0x34]
add esp, 0x48
ret