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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, edx
mov dword [esp + 0x40], 0
push edi
mov edi, ecx
mov dword [esp + 0x38], esi
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov bl, byte [edi + 0x17]
mov dword [esp + 0x28], eax
call fcn.004b3570
test eax, eax
jne 0x4b4451
mov edx, esi
mov ecx, edi
call fcn.004b2490
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x4b368b
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x4b3697
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
jmp 0x4b36ab
cmp cl, 0x8a
jne 0x4b36a6
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4b36ab
mov eax, 1
mov ecx, dword [edi]
lea esi, [eax*4 + 1]
add esi, eax
mov dword [esp + 0x18], eax
push 0
push esi
test ecx, ecx
je 0x4b36ce
call fcn.004737f0
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x4b36d9
call fcn.00473130
mov ecx, eax
mov dword [esp + 0x28], eax
add esp, 8
test ecx, ecx
je 0x4b36f0
push esi
push 0
push ecx
call fcn.005515a0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4b4431
mov esi, dword [edi + 8]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x48], esi
cmp dword [ebp + 8], ecx
mov ecx, edi
cmove eax, edx
mov edx, dword [esp + 0x40]
push eax
push 3
call fcn.004b1b50
mov edx, dword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x5c]
push eax
mov byte [edi + 0x17], 0
call fcn.004b4b90
mov edx, dword [esp + 0x34]
add esp, 0x14
mov byte [edi + 0x17], bl
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
test ebx, ebx
jle 0x4b3760
cmp dword [edx + ecx*4], ecx
jne 0x4b3760
inc ecx
cmp ecx, ebx
jl 0x4b3756
cmp ecx, ebx
jne 0x4b376f
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x4b3849
cmp ebx, 1
jne 0x4b37a0
mov al, byte [edi + 0x13]
test al, al
jne 0x4b3789
inc dword [edi + 0x2c]
xor ebx, ebx
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x10], ecx
jmp 0x4b37d5
dec al
xor ebx, ebx
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x10], ecx
jmp 0x4b37d5
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
cmp ebx, ecx
jg 0x4b37be
add eax, ebx
sub ecx, ebx
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x20], eax
jmp 0x4b37cd
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x10], ecx
mov dword [edi + 0x2c], eax
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jle 0x4b3845
mov edi, dword [esp + 0x4c]
nop dword [eax]
mov edx, dword [edx + ebx*4]
add edx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b3802
push 0
push edx
push edi
mov edx, 0x4f
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b3831
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x4f
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 ecx, dword [esp + 0x10]
inc ebx
mov edx, dword [esp + 0x20]
inc edi
cmp ebx, dword [esp + 0x18]
jl 0x4b37e0
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x30], 5
jne 0x4b3ca2
dec dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, edi
call fcn.004ae8a0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x4b38f2
mov al, byte [edi + 0x13]
test al, al
jne 0x4b3894
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4b38a3
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x78], ecx
jg 0x4b38c7
mov eax, dword [esp + 0x10]
mov edx, 0x66
push ebx
push eax
push eax
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b38f2
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], 0
cmp dword [eax], 0
jle 0x4b3bab
lea ecx, [eax + 8]
mov dword [esp + 0x34], ecx
nop
mov edx, dword [ecx]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.004b70f0
add esp, 4
mov ebx, eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x40], ebx
je 0x4b3988
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
call fcn.004b17e0
test eax, eax
je 0x4b3988
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b395d
mov eax, dword [esp + 0x14]
mov edx, 0x66
push eax
push ebx
push eax
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b3988
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4b39a4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b39a4
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
dec eax
cmp dword [esp + 0x38], eax
jl 0x4b3aa8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x4b3aa8
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x32]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x78], edx
jg 0x4b39f5
push ebx
mov ebx, dword [ebp + 8]
mov edx, eax
push ebx
push ecx
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b3a33
mov ebx, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b3a4e
push dword [esp + 0x18]
mov edx, 0xfffffffe
call fcn.00498770
add esp, 4
jmp 0x4b3a89
test edx, edx
jns 0x4b3a56
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b3a7a
push 0xfffffffffffffffe
push dword [esp + 0x1c]
mov edx, eax
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4b3a89
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b3a89
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfe
mov ecx, dword [esi + 0x74]
test ecx, ecx
jle 0x4b3b8b
mov eax, dword [esp + 0x3c]
lea ecx, [ecx + ecx*4]
mov al, byte [eax]
or al, 0x10
movsx dx, al
jmp 0x4b3b83
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, dword [esi + 0x74]
cmp ecx, ebx
setne al
lea eax, [eax*2 + 0x33]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x78], edx
jg 0x4b3adc
push ebx
push dword [esp + 0x30]
mov edx, eax
push ecx
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b3b1b
mov ebx, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b3b36
push dword [esp + 0x18]
mov edx, 0xfffffffe
call fcn.00498770
add esp, 4
jmp 0x4b3b71
test edx, edx
jns 0x4b3b3e
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b3b62
push 0xfffffffffffffffe
push dword [esp + 0x1c]
mov edx, eax
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4b3b71
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b3b71
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4b3b8b
mov ecx, dword [esp + 0x3c]
movsx dx, byte [ecx]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x34]
add ecx, 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
cmp eax, dword [edx]
jl 0x4b3910
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4b3c56
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b3bd6
push 0
push dword [ebp + 0xc]
mov edx, 0x32
mov ecx, esi
push ebx
call fcn.00497c60
add esp, 0xc
jmp 0x4b3c04
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b3c24
push 0
push dword [ebp + 8]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b3c56
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b3c74
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x4b3c7d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
test ebx, ebx
je 0x4b440f
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b440f
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
jmp 0x4b440f
mov edx, dword [ebp + 8]
cmp dword [ebp + 0xc], edx
jne 0x4b3cb0
mov dword [esp + 0x34], edx
jmp 0x4b3cbe
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 0
test ebx, ebx
jle 0x4b3dc1
xor ebx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
nop dword [eax + eax]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx]
mov byte [esp + 0xf], al
cmp al, 0xb0
jne 0x4b3cf4
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4b3cff
mov eax, dword [ecx + 0x14]
mov ebx, eax
jmp 0x4b3d09
cmp al, 0x8a
jne 0x4b3d36
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax + 0x1c]
cmp dword [ebx], 1
jle 0x4b3d32
cmp byte [esp + 0xf], 0x8a
je 0x4b3d25
cmp byte [ecx + 2], 0x8a
je 0x4b3d25
mov ebx, dword [esp + 0x1c]
mov ecx, dword [eax + ebx + 8]
jmp 0x4b3d36
mov eax, dword [eax + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [eax + ebx + 8]
jmp 0x4b3d36
mov ebx, dword [esp + 0x1c]
cmp dword [edi + 0x24], 0
jne 0x4b4431
call fcn.004b17e0
test eax, eax
je 0x4b3d9c
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x24]
cmp dword [esi + 0x78], ecx
jg 0x4b3d6d
push 0
push dword [esp + 0x38]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00497c60
add esp, 0xc
jmp 0x4b3d9c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
add ebx, 0x14
inc dword [esp + 0x24]
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
cmp eax, dword [esp + 0x18]
jl 0x4b3ce0
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
cmp dword [esp + 0x30], 1
jne 0x4b3e82
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b3dee
push dword [esp + 0x10]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x20
call fcn.00497c60
add esp, 0xc
jmp 0x4b3e20
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x38], edx
cmp dword [esi + 0x78], edx
jg 0x4b3e4a
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x4b3f94
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4b3f94
push ebx
push dword [esp + 0x40]
mov edx, 0x5f
mov ecx, esi
push 0
push ebx
push dword [esp + 0x20]
call fcn.00498000
mov ecx, dword [ebp + 8]
add esp, 0x14
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
mov dword [esp + 0x38], edx
cmp ecx, dword [ebp + 0xc]
jne 0x4b3f21
cmp eax, edx
jg 0x4b3ecf
push dword [esp + 0x10]
mov edx, 0x1e
push ecx
push dword [esp + 0x1c]
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4b3f01
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4b440f
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
jmp 0x4b440f
cmp eax, edx
jg 0x4b3f46
push dword [esp + 0x10]
mov edx, 0x1f
mov ecx, esi
push 0
push dword [esp + 0x1c]
call fcn.00497c60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x38], edx
jmp 0x4b3f7d
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4b3f94
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4b3ff0
cmp ebx, 1
jne 0x4b3ff0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b3fbe
push 0
push dword [ebp + 8]
mov ecx, esi
push edx
lea edx, [ebx + 0x32]
call fcn.00497c60
add esp, 0xc
jmp 0x4b3ff0
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jne 0x4b4048
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b4016
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b4048
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 edx, dword [esp + 0x48]
test edx, edx
je 0x4b4073
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b406a
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x4b4073
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], ecx
cmp dword [esi + 0x78], ecx
jg 0x4b40a0
push 0
push dword [ebp + 8]
mov edx, 0x26
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00497c60
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x4b40d2
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x1c], 0
cmp ebx, 1
jle 0x4b40eb
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x34], eax
jmp 0x4b40f7
mov dword [esp + 0x34], edx
test ebx, ebx
jle 0x4b42bd
mov dword [esp + 0x30], 0
nop
mov al, byte [edi + 0x13]
test al, al
jne 0x4b410f
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4b411e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dl, byte [ecx]
mov al, dl
cmp al, 0xb0
jne 0x4b4131
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4b413c
mov eax, dword [ecx + 0x14]
mov ecx, eax
jmp 0x4b4146
cmp al, 0x8a
jne 0x4b4175
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jle 0x4b4171
cmp dl, 0x8a
je 0x4b4164
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 2], 0x8a
je 0x4b4164
mov edx, dword [esp + 0x30]
mov edx, dword [eax + edx + 8]
jmp 0x4b4177
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
mov edx, dword [eax + edx + 8]
jmp 0x4b4177
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov ecx, edi
call fcn.004ae8a0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x78], ecx
jg 0x4b41a5
mov edx, dword [esp + 0x1c]
mov ecx, esi
push ebx
push edx
push dword [esp + 0x1c]
mov edx, 0x5d
call fcn.00497c60
add esp, 0xc
jmp 0x4b41d4
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x74]
add ebx, dword [esp + 0x10]
cmp dword [esi + 0x78], edx
jg 0x4b4204
push dword [esp + 0x24]
mov edx, 0x34
mov ecx, esi
push dword [esp + 0x38]
push ebx
call fcn.00497c60
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov edx, eax
jmp 0x4b4237
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b4253
mov edx, dword [esp + 0x40]
push edx
mov edx, 0xfffffffe
call fcn.00498770
add esp, 4
jmp 0x4b428b
test edx, edx
jns 0x4b425b
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x40]
je 0x4b4280
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4b428b
test edx, edx
je 0x4b428b
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
test ebx, ebx
je 0x4b42a3
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b42a3
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x30], 0x14
inc ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp ecx, ebx
jl 0x4b4100
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b42dd
push 0
push dword [ebp + 0xc]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b430f
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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
cmp ebx, 1
jle 0x4b43e5
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b4336
push edx
mov edx, esi
call fcn.00498480
add esp, 4
jmp 0x4b433f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4b4364
push 0
push edx
push dword [esp + 0x1c]
mov edx, 5
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4b4393
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4b43b3
push 0
push dword [ebp + 8]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00497c60
add esp, 0xc
jmp 0x4b43e5
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4b43f7
mov eax, 0x5d4b70
jmp 0x4b440c
mov ecx, dword [esp + 0x38]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x4c]
je 0x4b4431
test ecx, ecx
je 0x4b4431
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b4431
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4b4440
mov ecx, dword [edi]
call fcn.00473400
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4b4451
mov ecx, dword [edi]
mov edx, eax
call fcn.00473400
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret